MRPT logo

mrpt::math::CMatrix Class Reference

This class is a "CSerializable" wrapper for "CMatrixFloat". More...

#include <mrpt/math/CMatrix.h>

Inheritance diagram for mrpt::math::CMatrix:

mrpt::utils::CSerializable mrpt::math::CMatrixTemplateNumeric< float > mrpt::math::CMatrixTemplate< float >

List of all members.

Public Member Functions

 CMatrix (size_t row=1, size_t col=1)
 Constructor.
 CMatrix (const CMatrixFloat &m)
 Copy constructor.
 CMatrix (const CMatrixTemplateNumeric< double > &m)
 Copy constructor.
 CMatrix (const mrpt::poses::CPose2D &p)
 Constructor from a mrpt::poses::CPose2D, which generates a 3x1 matrix $ [x y \phi]^T $.
 CMatrix (const mrpt::poses::CPose3D &p)
 Constructor from a mrpt::poses::CPose6D, which generates a 6x1 matrix $ [x y z yaw pitch roll]^T $.
 CMatrix (const mrpt::poses::CPoint2D &p)
 Constructor from a mrpt::poses::CPoint2D, which generates a 2x1 matrix $ [x y]^T $.
 CMatrix (const mrpt::poses::CPoint3D &p)
 Constructor from a mrpt::poses::CPoint3D, which generates a 3x1 matrix $ [x y z]^T $.
CMatrixoperator= (const CMatrixFloat &m)
 Assignment operator for float matrixes.
CMatrixoperator= (const CMatrixTemplateNumeric< double > &m)
 Assignment operator for double matrixes.


Detailed Description

This class is a "CSerializable" wrapper for "CMatrixFloat".

Definition at line 53 of file CMatrix.h.


Constructor & Destructor Documentation

mrpt::math::CMatrix::CMatrix ( size_t  row = 1,
size_t  col = 1 
) [inline]

Constructor.

Definition at line 60 of file CMatrix.h.

mrpt::math::CMatrix::CMatrix ( const CMatrixFloat m  )  [inline]

Copy constructor.

Definition at line 66 of file CMatrix.h.

mrpt::math::CMatrix::CMatrix ( const CMatrixTemplateNumeric< double > &  m  )  [inline]

Copy constructor.

Definition at line 72 of file CMatrix.h.

mrpt::math::CMatrix::CMatrix ( const mrpt::poses::CPose2D p  )  [explicit]

Constructor from a mrpt::poses::CPose2D, which generates a 3x1 matrix $ [x y \phi]^T $.

mrpt::math::CMatrix::CMatrix ( const mrpt::poses::CPose3D p  )  [explicit]

Constructor from a mrpt::poses::CPose6D, which generates a 6x1 matrix $ [x y z yaw pitch roll]^T $.

mrpt::math::CMatrix::CMatrix ( const mrpt::poses::CPoint2D p  )  [explicit]

Constructor from a mrpt::poses::CPoint2D, which generates a 2x1 matrix $ [x y]^T $.

mrpt::math::CMatrix::CMatrix ( const mrpt::poses::CPoint3D p  )  [explicit]

Constructor from a mrpt::poses::CPoint3D, which generates a 3x1 matrix $ [x y z]^T $.


Member Function Documentation

CMatrix& mrpt::math::CMatrix::operator= ( const CMatrixTemplateNumeric< double > &  m  )  [inline]

CMatrix& mrpt::math::CMatrix::operator= ( const CMatrixFloat m  )  [inline]

Assignment operator for float matrixes.

Reimplemented from mrpt::math::CMatrixTemplateNumeric< float >.

Definition at line 95 of file CMatrix.h.

References mrpt::math::CMatrixTemplateNumeric< float >::operator=().




Page generated by Doxygen 1.5.8 for MRPT 0.6.5 SVN: at Thu Feb 26 02:07:47 EST 2009