Main MRPT website > C++ reference
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:
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 TPose2D &p)
 Constructor from a TPose2D, which generates a 3x1 matrix $ [x y \phi]^T $.
 CMatrix (const TPose3D &p)
 Constructor from a mrpt::poses::CPose6D, which generates a 6x1 matrix $ [x y z yaw pitch roll]^T $.
 CMatrix (const TPoint2D &p)
 Constructor from a TPoint2D, which generates a 2x1 matrix $ [x y]^T $.
 CMatrix (const TPoint3D &p)
 Constructor from a TPoint3D, which generates a 3x1 matrix $ [x y z]^T $.
template<class OTHERMAT >
CMatrixoperator= (const OTHERMAT &m)
 Assignment operator for float matrixes.

Detailed Description

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

Definition at line 48 of file CMatrix.h.


Constructor & Destructor Documentation

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

Constructor.

Definition at line 54 of file CMatrix.h.

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

Constructor.

Definition at line 58 of file CMatrix.h.

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

Copy constructor.

Definition at line 63 of file CMatrix.h.

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

Copy constructor.

Definition at line 68 of file CMatrix.h.

mrpt::math::CMatrix::CMatrix ( const TPose2D p  )  [inline, explicit]

Constructor from a TPose2D, which generates a 3x1 matrix $ [x y \phi]^T $.

Definition at line 75 of file CMatrix.h.

mrpt::math::CMatrix::CMatrix ( const TPose3D p  )  [inline, explicit]

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

Definition at line 79 of file CMatrix.h.

mrpt::math::CMatrix::CMatrix ( const TPoint2D p  )  [inline, explicit]

Constructor from a TPoint2D, which generates a 2x1 matrix $ [x y]^T $.

Definition at line 83 of file CMatrix.h.

mrpt::math::CMatrix::CMatrix ( const TPoint3D p  )  [inline, explicit]

Constructor from a TPoint3D, which generates a 3x1 matrix $ [x y z]^T $.

Definition at line 87 of file CMatrix.h.


Member Function Documentation

template<class OTHERMAT >
CMatrix& mrpt::math::CMatrix::operator= ( const OTHERMAT &  m  )  [inline]

Assignment operator for float matrixes.

Definition at line 92 of file CMatrix.h.

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

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines



Page generated by Doxygen 1.6.1 for MRPT 0.9.0 SVN: at Mon Jun 7 06:47:58 UTC 2010