Go to the documentation of this file.
31 template <
size_t NROWS,
size_t NCOLS>
35 ASSERTMSG_(M.cols()==aux.cols() && M.rows()==aux.rows(),
format(
"Size mismatch: deserialized is %ux%u, expected is %ux%u",(
unsigned)aux.getRowCount(),(unsigned)aux.getColCount(),(unsigned)NROWS,(
unsigned)NCOLS))
40 template <
size_t NROWS,
size_t NCOLS>
44 ASSERTMSG_(M.cols()==aux.cols() && M.rows()==aux.rows(),
format(
"Size mismatch: deserialized is %ux%u, expected is %ux%u",(
unsigned)aux.getRowCount(),(unsigned)aux.getColCount(),(unsigned)NROWS,(
unsigned)NCOLS))
50 template <
size_t NROWS,
size_t NCOLS>
57 template <
size_t NROWS,
size_t NCOLS>
72 template <
typename T,
size_t NROWS,
size_t NCOLS>
75 Eigen::IOFormat fmt; fmt.matSuffix=
"\n";
76 return s << m.format(fmt);
83 Eigen::IOFormat fmt; fmt.matSuffix=
"\n";
84 return s << m.format(fmt);
CMatrixTemplateNumeric< double > CMatrixDouble
Declares a matrix of double numbers (non serializable).
#define ASSERTMSG_(f, __ERROR_MSG)
CMatrixTemplateNumeric< float > CMatrixFloat
Declares a matrix of float numbers (non serializable).
BASE_IMPEXP ::mrpt::utils::CStream & operator>>(mrpt::utils::CStream &in, CMatrixPtr &pObj)
void WriteObject(const CSerializable *o)
Writes an object to the stream.
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
A matrix of dynamic size.
CSerializablePtr ReadObject()
Reads an object from stream, its class determined at runtime, and returns a smart pointer to the obje...
This class is a "CSerializable" wrapper for "CMatrixFloat".
This base class is used to provide a unified interface to files,memory buffers,..Please see the deriv...
A numeric matrix of compile-time fixed size.
std::ostream BASE_IMPEXP & operator<<(std::ostream &o, const TPoint2D &p)
This class is a "CSerializable" wrapper for "CMatrixTemplateNumeric<double>".
std::string BASE_IMPEXP format(const char *fmt,...) MRPT_printf_format_check(1
A std::string version of C sprintf.
Page generated by Doxygen 1.8.16 for MRPT 1.4.0 SVN: at Mon Oct 14 23:11:08 UTC 2019 | | |