MRPT logo
Public Member Functions

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:
Inheritance graph
[legend]
Collaboration diagram for mrpt::math::CMatrix:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 CMatrix ()
 Constructor.
 CMatrix (size_t row, size_t col)
 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 $.
CMatrix & operator= (const CMatrixFloat &m)
 Assignment operator for float matrixes.
CMatrix & operator= (const CMatrixTemplateNumeric< double > &m)
 Assignment operator for double matrixes.

Detailed Description

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

Definition at line 55 of file CMatrix.h.


Constructor & Destructor Documentation

mrpt::math::CMatrix::CMatrix (  )  [inline]

Constructor.

Definition at line 61 of file CMatrix.h.

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

Constructor.

Definition at line 65 of file CMatrix.h.

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

Copy constructor.

Definition at line 70 of file CMatrix.h.

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

Copy constructor.

Definition at line 75 of file CMatrix.h.

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

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

Definition at line 82 of file CMatrix.h.

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

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

Definition at line 86 of file CMatrix.h.

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

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

Definition at line 90 of file CMatrix.h.

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

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

Definition at line 94 of file CMatrix.h.


Member Function Documentation

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

Assignment operator for float matrixes.

Definition at line 98 of file CMatrix.h.

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

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



Page generated by Doxygen 1.7.1 for MRPT 0.8.1 SVN:exported at Sun Sep 19 14:53:45 UTC 2010