Go to the documentation of this file.
29 const size_t N = V.size();
30 for (
size_t i = 0; i < N; i++)
33 if (i != (N - 1)) ret +=
",";
39 template <
typename Derived>
43 const size_t N = V.size();
44 for (
size_t i = 0; i < N; i++)
47 if (i != (N - 1)) ret +=
",";
void printf_vector(const char *fmt, const std::vector< T > &V)
Prints a vector in the format [A,B,C,...] to std::cout, and the fmt string for each vector element.
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
std::string format(const char *fmt,...) MRPT_printf_format_check(1
A std::string version of C sprintf.
GLsizei const GLchar ** string
std::string sprintf_vector(const char *fmt, const std::vector< T > &V)
Generates a string for a vector in the format [A,B,C,...] to std::cout, and the fmt string for each v...
Page generated by Doxygen 1.8.17 for MRPT 1.9.9 Git: ad3a9d8ae Tue May 1 23:10:22 2018 -0700 at miƩ 12 jul 2023 10:03:34 CEST | |