MRPT logo

CMatrixTemplateNumeric.h File Reference

#include <mrpt/math/CMatrixTemplate.h>
#include <mrpt/system/os.h>
#include <cmath>
#include <limits>

Go to the source code of this file.


Classes

class  mrpt::math::CMatrixTemplateNumeric< T >
 This template class extends the class "CMatrixTemplate" with many common operations with numerical matrixes. More...

Namespaces

namespace  mrpt
 This is the global namespace for all Mobile Robot Porgramming Toolkit (MRPT) libraries.
namespace  mrpt::poses
 Classes for 2D/3D geometry representation, both of single values and probability density distributions (PDFs) in many forms.
namespace  mrpt::math
 This base provides a set of functions for maths stuff.

Defines

#define DEBUG_SAVE_MATRIX(M)
 A useful macro for saving matrixes to a file while debugging.

Typedefs

typedef CMatrixTemplateNumeric
< float > 
mrpt::math::CMatrixFloat
 Declares a matrix of float numbers (non serializable).
typedef CMatrixTemplateNumeric
< double > 
mrpt::math::CMatrixDouble
 Declares a matrix of double numbers (non serializable).
typedef CMatrixTemplateNumeric
< unsigned int > 
mrpt::math::CMatrixUInt
 Declares a matrix of unsigned ints (non serializable).
typedef CMatrixTemplate< bool > mrpt::math::CMatrixBool
 Declares a matrix of booleans (non serializable).
typedef CMatrixTemplateNumeric
< double > 
mrpt::math::CMatrixLongDouble
 Declares a matrix of "long doubles" (non serializable), or of "doubles" if the compiler does not support "long double".

Functions

template<typename T , size_t NROWS, size_t NCOLS>
void mrpt::math::fixedToDynMatrix (const CMatrixFixedNumeric< T, NROWS, NCOLS > &SRC, CMatrixTemplateNumeric< T > &DST)
 Auxiliary function used in the constructor of dyn.
template<class T >
bool mrpt::math::operator== (const CMatrixTemplateNumeric< T > &m1, const CMatrixTemplateNumeric< T > &m2)
 Logical equal-to operator.
template<class T >
bool mrpt::math::operator!= (const CMatrixTemplateNumeric< T > &m1, const CMatrixTemplateNumeric< T > &m2)
 logical no-equal-to operator
template<class T >
CMatrixTemplateNumeric< T > mrpt::math::operator+ (const CMatrixTemplateNumeric< T > &m1, const CMatrixTemplateNumeric< T > &m2)
 binary addition operator
template<class T >
CMatrixTemplateNumeric< T > mrpt::math::operator- (const CMatrixTemplateNumeric< T > &m1, const CMatrixTemplateNumeric< T > &m2)
 binary subtraction operator
template<class T >
CMatrixTemplateNumeric< T > mrpt::math::operator* (const CMatrixTemplateNumeric< T > &m, const T &no)
 binary scalar multiplication operator
template<class T >
CMatrixTemplateNumeric< T > mrpt::math::operator* (const T &no, const CMatrixTemplateNumeric< T > &m)
 binary scalar multiplication operator
template<class T >
CMatrixTemplateNumeric< T > mrpt::math::operator* (const CMatrixTemplateNumeric< T > &m1, const CMatrixTemplateNumeric< T > &m2)
 binary matrix multiplication operator
template<class T >
CMatrixTemplateNumeric< T > mrpt::math::operator* (const CMatrixTemplateNumeric< T > &m1, const CVectorTemplate< T > &m2)
 Binary matrix multiplication operator, with one matrix being NxM and the second being a column matrix Mx1.
template<class T >
CMatrixTemplateNumeric< T > mrpt::math::operator/ (const CMatrixTemplateNumeric< T > &m, const T &no)
 binary scalar division operator
template<class T >
CMatrixTemplateNumeric< T > mrpt::math::operator/ (const T &no, const CMatrixTemplateNumeric< T > &m)
 binary scalar division operator
template<class T >
CMatrixTemplateNumeric< T > mrpt::math::operator/ (const CMatrixTemplateNumeric< T > &m1, const CMatrixTemplateNumeric< T > &m2)
 binary matrix division operator
template<class T >
CMatrixTemplateNumeric< T > mrpt::math::operator^ (const CMatrixTemplateNumeric< T > &m, const unsigned int &pow)
 binary power operator
template<class T >
CMatrixTemplateNumeric< T > mrpt::math::operator~ (const CMatrixTemplateNumeric< T > &m)
 unary transpose operator
template<class T >
CMatrixTemplateNumeric< T > mrpt::math::operator! (const CMatrixTemplateNumeric< T > &m)
 Unary inversion operator.

Variables

class MRPTDLLIMPEXP mrpt::math::CMatrixTemplateNumeric


Define Documentation

#define DEBUG_SAVE_MATRIX (  ) 

Value:

{ \
                                char auxStr[100]; \
                                os::sprintf(auxStr,99,"%s.txt",#M); \
                                M.saveToTextFile(auxStr); \
                        } \
A useful macro for saving matrixes to a file while debugging.

Definition at line 846 of file CMatrixTemplateNumeric.h.




Page generated by Doxygen 1.5.9 for MRPT 0.7.1 SVN: at Mon Aug 17 22:27:43 EDT 2009