9 #ifndef _MRPT_CArrayNumeric_H 10 #define _MRPT_CArrayNumeric_H 25 template <
typename T, std::
size_t N>
30 typedef Eigen::Matrix<T, N, 1>
Base;
40 template <
class ARRAYLIKE>
45 template <
typename OtherDerived>
47 const Eigen::MatrixBase<OtherDerived>& other)
49 Base::operator=(other);
58 template <std::
size_t N>
73 template <
class ARRAYLIKE>
86 template <std::
size_t N>
101 template <
class ARRAYLIKE>
114 template <std::
size_t N>
133 template <std::
size_t N>
156 template <
typename T,
size_t N>
163 static_cast<unsigned int>(N));
172 "CArrayNumeric<double,%u>", static_cast<unsigned int>(N));
181 "CArrayNumeric<float,%u>", static_cast<unsigned int>(N));
CArrayDouble(const double *ptr)
Constructor from initial values ptr[0]-ptr[N-1].
CArrayNumeric()
Default constructor.
CArrayNumeric< float, N > Base
CArrayInt< N > mrpt_autotype
std::string format(const char *fmt,...) MRPT_printf_format_check(1
A std::string version of C sprintf.
#define MRPT_EIGEN_DERIVED_CLASS_CTOR_OPERATOR_EQUAL(_CLASS_)
A template to obtain the type of its argument as a string at compile time.
CArrayNumeric is an array for numeric types supporting several mathematical operations (actually...
A partial specialization of CArrayNumeric for unsigned int numbers.
CArrayNumeric< unsigned int, N > Base
CArrayNumeric(const ARRAYLIKE &obj)
Initialization from a vector-like source, that is, anything implementing operator[].
CArrayInt(const int *ptr)
Constructor from initial values ptr[0]-ptr[N-1].
CArrayFloat()
Default constructor.
GLsizei GLsizei GLuint * obj
CArrayFloat(const ARRAYLIKE &obj)
Initialization from a vector-like source, that is, anything implementing operator[].
A partial specialization of CArrayNumeric for int numbers.
CArrayFloat(const float *ptr)
Constructor from initial values ptr[0]-ptr[N-1].
A partial specialization of CArrayNumeric for float numbers.
#define MRPT_MATRIX_CONSTRUCTORS_FROM_POSES(_CLASS_)
Eigen::Matrix< T, N, 1 > Base
CArrayUInt< N > mrpt_autotype
GLsizei const GLchar ** string
CArrayDouble()
Default constructor.
CArrayDouble< N > mrpt_autotype
CArrayNumeric< T, N > & operator=(const Eigen::MatrixBase< OtherDerived > &other)
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
CArrayDouble(const ARRAYLIKE &obj)
Initialization from a vector-like source, that is, anything implementing operator[].
CArrayUInt()
Default constructor.
CArrayNumeric(const T *ptr)
Constructor from initial values ptr[0]-ptr[N-1].
A partial specialization of CArrayNumeric for double numbers.
CArrayNumeric< double, N > Base
CArrayNumeric< int, N > Base
CArrayInt()
Default constructor.
CArrayUInt(const unsigned int *ptr)
Constructor from initial values ptr[0]-ptr[N-1].
CArrayFloat< N > mrpt_autotype