MRPT logo

CMatrixTemplate.h File Reference

#include <mrpt/utils/utils_defs.h>

Go to the source code of this file.


Classes

class  mrpt::math::CMatrixTemplate< T >
 This template class provides the basic functionality for a general 2D any-size, resizable container of numerical or non-numerical elements. More...
class  mrpt::math::CMatrixColumnAccessor< T >
 A vector-like wrapper for a Matrix for accessing the elements of a given column with a [] operator. More...
class  mrpt::math::CMatrixColumnAccessorExtended< T >
 A vector-like wrapper for a Matrix for accessing the elements of a given column with a [] operator, with offset and custom spacing. More...
class  mrpt::math::CConstMatrixColumnAccessor< T >
 A vector-like wrapper for a const Matrix for accessing the elements of a given column with a [] operator. More...
class  mrpt::math::CConstMatrixColumnAccessorExtended< T >
 A vector-like wrapper for a const Matrix for accessing the elements of a given column with a [] operator, with offset and custom spacing. More...
class  mrpt::math::CMatrixRowAccessor< T >
 A vector-like wrapper for a Matrix for accessing the elements of a given row with a [] operator. More...
class  mrpt::math::CMatrixRowAccessorExtended< T >
 A vector-like wrapper for a Matrix for accessing the elements of a given row with a [] operator, with offset and custom spacing. More...
class  mrpt::math::CConstMatrixRowAccessor< T >
 A vector-like wrapper for a const Matrix for accessing the elements of a given row with a [] operator. More...
class  mrpt::math::CConstMatrixRowAccessorExtended< T >
 A vector-like wrapper for a const Matrix for accessing the elements of a given row with a [] operator, with offset and custom spacing. More...

Namespaces

namespace  mrpt
 This is the global namespace for all Mobile Robot Porgramming Toolkit (MRPT) libraries.
namespace  mrpt::math
 This base provides a set of functions for maths stuff.

Enumerations

enum  mrpt::math::TMatrixTextFileFormat { mrpt::math::MATRIX_FORMAT_ENG = 0, mrpt::math::MATRIX_FORMAT_FIXED = 1, mrpt::math::MATRIX_FORMAT_INT = 2 }
 Selection of the number format in CMatrixTemplate::saveToTextFile. More...

Functions

template<typename U >
mrpt::math::myStaticCast (double val)
template<class MAT >
void mrpt::math::saveMatrixToTextFile (const MAT &theMatrix, const std::string &file, TMatrixTextFileFormat fileFormat, bool appendMRPTHeader, const std::string &userHeader)
 Save matrix to a text file, compatible with MATLAB text format (see also the methods of matrix classes themselves).
template<typename T , size_t NROWS, size_t NCOLS>
void mrpt::math::insertMatrixFixTransposeIntoDyn (CMatrixTemplate< T > &M, const size_t nRow, const size_t nCol, const CMatrixFixedNumeric< T, NROWS, NCOLS > &in)
 Auxiliary function used in CMatrixTemplate.
template<typename T , size_t NROWS, size_t NCOLS>
void mrpt::math::insertMatrixFixIntoDyn (CMatrixTemplate< T > &M, const size_t nRow, const size_t nCol, const CMatrixFixedNumeric< T, NROWS, NCOLS > &in)
 Auxiliary function used in CMatrixTemplate.
template<typename T , size_t NROWS, size_t NCOLS>
void mrpt::math::extractFixMatrixFromDynMatrix (const CMatrixTemplate< T > &M, const size_t nRow, const size_t nCol, CMatrixFixedNumeric< T, NROWS, NCOLS > &outMat)
 Used from CMatrixTemplate::extractMatrix.
template<class T >
std::ostream & mrpt::math::operator<< (std::ostream &ostrm, const CMatrixTemplate< T > &m)
 Textual output stream function.
template<class T >
size_t mrpt::math::size (const CMatrixTemplate< T > &m, int dim)
 Returns the size of the matrix in the i'th dimension: 1=rows, 2=columns (MATLAB-compatible function).




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