Main MRPT website > C++ reference
MRPT logo
Namespaces | Classes | Enumerations | Functions
mrpt::mrpt::math Namespace Reference

Namespaces

 detail
 

Classes

class  CMatrixTemplate
 
class  CMatrixTemplateObjects
 

Enumerations

enum  TMatrixTextFileFormat { MATRIX_FORMAT_ENG = 0, MATRIX_FORMAT_FIXED = 1, MATRIX_FORMAT_INT = 2 }
 
enum  TConstructorFlags_Matrices { UNINITIALIZED_MATRIX = 0 }
 For usage in one of the constructors of CMatrixFixedNumeric or CMatrixTemplate (and derived classes), if it's not required to fill it with zeros at the constructor to save time. More...
 

Functions

template<class CONTAINER1 , class CONTAINER2 >
void cumsum (const CONTAINER1 &in_data, CONTAINER2 &out_cumsum)
 
template<class CONTAINER >
CONTAINER::Scalar norm (const CONTAINER &v)
 
template<class CONTAINER >
CONTAINER::Scalar norm_inf (const CONTAINER &v)
 
template<class MAT_A , class SKEW_3VECTOR , class MAT_OUT >
void multiply_A_skew3 (const MAT_A &A, const SKEW_3VECTOR &v, MAT_OUT &out)
 Only for vectors/arrays "v" of length3, compute out = A * Skew(v), where Skew(v) is the skew symmetric matric generated from v (see mrpt::math::skew_symmetric3) More...
 
template<class SKEW_3VECTOR , class MAT_A , class MAT_OUT >
void multiply_skew3_A (const SKEW_3VECTOR &v, const MAT_A &A, MAT_OUT &out)
 Only for vectors/arrays "v" of length3, compute out = Skew(v) * A, where Skew(v) is the skew symmetric matric generated from v (see mrpt::math::skew_symmetric3) More...
 
template<class CONTAINER >
CONTAINER & containerFromPoseOrPoint (CONTAINER &C, const TPoint2D &p)
 Conversion of poses to MRPT containers (vector/matrix) More...
 
template<class CONTAINER >
CONTAINER & containerFromPoseOrPoint (CONTAINER &C, const TPoint3D &p)
 
template<class CONTAINER >
CONTAINER & containerFromPoseOrPoint (CONTAINER &C, const TPose2D &p)
 
template<class CONTAINER >
CONTAINER & containerFromPoseOrPoint (CONTAINER &C, const TPose3D &p)
 
template<class CONTAINER >
CONTAINER & containerFromPoseOrPoint (CONTAINER &C, const TPose3DQuat &p)
 
template<class CONTAINER >
CONTAINER & containerFromPoseOrPoint (CONTAINER &C, const mrpt::poses::CPoint2D &p)
 
template<class CONTAINER >
CONTAINER & containerFromPoseOrPoint (CONTAINER &C, const mrpt::poses::CPoint3D &p)
 
template<class CONTAINER >
CONTAINER & containerFromPoseOrPoint (CONTAINER &C, const mrpt::poses::CPose2D &p)
 
template<class CONTAINER >
CONTAINER & containerFromPoseOrPoint (CONTAINER &C, const mrpt::poses::CPose3D &p)
 
template<class CONTAINER >
CONTAINER & containerFromPoseOrPoint (CONTAINER &C, const mrpt::poses::CPose3DQuat &p)
 
template<class T >
wrapTo2Pi (T a)
 Modifies the given angle to translate it into the [0,2pi[ range. More...
 
bool BASE_IMPEXP isNaN (float v) MRPT_NO_THROWS
 
bool BASE_IMPEXP isNaN (double v) MRPT_NO_THROWS
 
bool BASE_IMPEXP isFinite (float v) MRPT_NO_THROWS
 
bool BASE_IMPEXP isFinite (double v) MRPT_NO_THROWS
 
template<class MATRIXLIKE >
size_t size (const MATRIXLIKE &m, int dim)
 

Enumeration Type Documentation

◆ TConstructorFlags_Matrices

For usage in one of the constructors of CMatrixFixedNumeric or CMatrixTemplate (and derived classes), if it's not required to fill it with zeros at the constructor to save time.

Enumerator
UNINITIALIZED_MATRIX 

Definition at line 81 of file CColouredPointsMap.h.

◆ TMatrixTextFileFormat

Selection of the number format in CMatrixTemplate::saveToTextFile

Enumerator
MATRIX_FORMAT_ENG 

engineering format 'e'

MATRIX_FORMAT_FIXED 

fixed floating point 'f'

MATRIX_FORMAT_INT 

intergers 'i'

Definition at line 72 of file CColouredPointsMap.h.

Function Documentation

◆ containerFromPoseOrPoint() [1/10]

template<class CONTAINER >
CONTAINER& mrpt::mrpt::math::containerFromPoseOrPoint ( CONTAINER &  C,
const TPoint2D &  p 
)

Conversion of poses to MRPT containers (vector/matrix)

◆ containerFromPoseOrPoint() [2/10]

template<class CONTAINER >
CONTAINER& mrpt::mrpt::math::containerFromPoseOrPoint ( CONTAINER &  C,
const TPoint3D &  p 
)

◆ containerFromPoseOrPoint() [3/10]

template<class CONTAINER >
CONTAINER& mrpt::mrpt::math::containerFromPoseOrPoint ( CONTAINER &  C,
const TPose2D &  p 
)

◆ containerFromPoseOrPoint() [4/10]

template<class CONTAINER >
CONTAINER& mrpt::mrpt::math::containerFromPoseOrPoint ( CONTAINER &  C,
const TPose3D &  p 
)

◆ containerFromPoseOrPoint() [5/10]

template<class CONTAINER >
CONTAINER& mrpt::mrpt::math::containerFromPoseOrPoint ( CONTAINER &  C,
const TPose3DQuat &  p 
)

◆ containerFromPoseOrPoint() [6/10]

template<class CONTAINER >
CONTAINER& mrpt::mrpt::math::containerFromPoseOrPoint ( CONTAINER &  C,
const mrpt::poses::CPoint2D p 
)
inline

Definition at line 135 of file CColouredPointsMap.h.

◆ containerFromPoseOrPoint() [7/10]

template<class CONTAINER >
CONTAINER& mrpt::mrpt::math::containerFromPoseOrPoint ( CONTAINER &  C,
const mrpt::poses::CPoint3D p 
)
inline

Definition at line 136 of file CColouredPointsMap.h.

◆ containerFromPoseOrPoint() [8/10]

template<class CONTAINER >
CONTAINER& mrpt::mrpt::math::containerFromPoseOrPoint ( CONTAINER &  C,
const mrpt::poses::CPose2D p 
)
inline

Definition at line 137 of file CColouredPointsMap.h.

◆ containerFromPoseOrPoint() [9/10]

template<class CONTAINER >
CONTAINER& mrpt::mrpt::math::containerFromPoseOrPoint ( CONTAINER &  C,
const mrpt::poses::CPose3D p 
)
inline

Definition at line 138 of file CColouredPointsMap.h.

◆ containerFromPoseOrPoint() [10/10]

template<class CONTAINER >
CONTAINER& mrpt::mrpt::math::containerFromPoseOrPoint ( CONTAINER &  C,
const mrpt::poses::CPose3DQuat p 
)
inline

Definition at line 139 of file CColouredPointsMap.h.

◆ cumsum()

template<class CONTAINER1 , class CONTAINER2 >
void mrpt::mrpt::math::cumsum ( const CONTAINER1 &  in_data,
CONTAINER2 &  out_cumsum 
)
inline

Definition at line 86 of file ops_containers.h.

Referenced by mrpt::math::confidenceIntervals(), and mrpt::math::cumsum().

◆ isFinite() [1/2]

bool BASE_IMPEXP mrpt::mrpt::math::isFinite ( float  v)

◆ isFinite() [2/2]

bool BASE_IMPEXP mrpt::mrpt::math::isFinite ( double  v)

◆ isNaN() [1/2]

bool BASE_IMPEXP mrpt::mrpt::math::isNaN ( float  v)

◆ isNaN() [2/2]

bool BASE_IMPEXP mrpt::mrpt::math::isNaN ( double  v)

◆ multiply_A_skew3()

template<class MAT_A , class SKEW_3VECTOR , class MAT_OUT >
void mrpt::mrpt::math::multiply_A_skew3 ( const MAT_A &  A,
const SKEW_3VECTOR &  v,
MAT_OUT &  out 
)

Only for vectors/arrays "v" of length3, compute out = A * Skew(v), where Skew(v) is the skew symmetric matric generated from v (see mrpt::math::skew_symmetric3)

Definition at line 229 of file ops_matrices.h.

References ASSERT_EQUAL_, MRPT_END, MRPT_START, and mrpt::math::size().

Referenced by multiply_A_skew3().

◆ multiply_skew3_A()

template<class SKEW_3VECTOR , class MAT_A , class MAT_OUT >
void mrpt::mrpt::math::multiply_skew3_A ( const SKEW_3VECTOR &  v,
const MAT_A &  A,
MAT_OUT &  out 
)

Only for vectors/arrays "v" of length3, compute out = Skew(v) * A, where Skew(v) is the skew symmetric matric generated from v (see mrpt::math::skew_symmetric3)

Definition at line 248 of file ops_matrices.h.

References ASSERT_EQUAL_, MRPT_END, MRPT_START, and mrpt::math::size().

Referenced by multiply_skew3_A().

◆ norm()

template<class CONTAINER >
CONTAINER::Scalar mrpt::mrpt::math::norm ( const CONTAINER &  v)
inline

◆ norm_inf()

template<class CONTAINER >
CONTAINER::Scalar mrpt::mrpt::math::norm_inf ( const CONTAINER &  v)
inline

◆ size()

template<class MATRIXLIKE >
size_t mrpt::mrpt::math::size ( const MATRIXLIKE &  m,
int  dim 
)
inline

Returns the size of the matrix in the i'th dimension: 1=rows, 2=columns (MATLAB-compatible function)

Note
Template argument MATRIXLIKE can be: CMatrixTemplate, CMatrixTemplateNumeric, CMatrixFixedNumeric

Definition at line 46 of file CColouredPointsMap.h.

Referenced by mrpt::poses::CPose3D::CPose3D(), mrpt::poses::CPoint< CPoint3D >::fromString(), mrpt::poses::CPose3DQuat::fromString(), mrpt::poses::CPose3DRotVec::fromString(), and mrpt::poses::CPose3D::fromString().




Page generated by Doxygen 1.8.14 for MRPT 1.1.0 SVN: at lun oct 28 00:54:49 CET 2019 Hosted on:
SourceForge.net Logo