MRPT logo

CMatrixTemplate.h File Reference

#include <mrpt/utils/utils_defs.h>
#include <mrpt/system/memory.h>
#include <mrpt/system/datetime.h>
#include <vector>
#include <set>
#include <algorithm>
Include dependency graph for CMatrixTemplate.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  mrpt::math::detail::VicinityTraits< CMatrixTemplate< T > >
 Vicinity traits class specialization for matrices. More...
class  mrpt::math::detail::VicinityTraits< std::vector< T > >
 Vicinity traits class specialization for vectors. More...
struct  mrpt::math::detail::getVicinity< MatrixType, T, ReturnType, 4 >
 Template specialization for getVicinity. More...
struct  mrpt::math::detail::getVicinity< MatrixType, T, ReturnType, 5 >
 Template specialization for getVicinity. More...
struct  mrpt::math::detail::getVicinity< MatrixType, T, ReturnType, 8 >
 Template specialization for getVicinity. More...
struct  mrpt::math::detail::getVicinity< MatrixType, T, ReturnType, 9 >
 Template specialization for getVicinity. More...
struct  mrpt::math::detail::getVicinity< MatrixType, T, ReturnType, 12 >
 Template specialization for getVicinity. More...
struct  mrpt::math::detail::getVicinity< MatrixType, T, ReturnType, 13 >
 Template specialization for getVicinity. More...
struct  mrpt::math::detail::getVicinity< MatrixType, T, ReturnType, 20 >
 Template specialization for getVicinity. More...
struct  mrpt::math::detail::getVicinity< MatrixType, T, ReturnType, 21 >
 Template specialization for getVicinity. More...
struct  mrpt::math::detail::getVicinity< MatrixType, T, ReturnType, 24 >
 Template specialization for getVicinity. More...
struct  mrpt::math::detail::getVicinity< MatrixType, T, ReturnType, 25 >
 Template specialization for getVicinity. More...
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::AccessorIterator< A, T >
 Template class for matrix accessor's iterators. More...
class  mrpt::math::ReverseAccessorIterator< A, T >
 Template class for matrix accessor's iterators. 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.


namespace  mrpt::math::detail

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<>
bool 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).
template<typename M , typename A >
void mrpt::math::detail::getAccessors (M &mat, std::vector< A > &vec, size_t N)
template<typename T >
void mrpt::math::getAsVectorOfAccessors (CMatrixTemplate< T > &mat, std::vector< CMatrixRowAccessor< T > > &vec)
 This algorithm transforms a matrix into a vector of accessors.
template<typename T >
void mrpt::math::getAsVectorOfAccessors (const CMatrixTemplate< T > &mat, std::vector< CConstMatrixRowAccessor< T > > &vec)
 This algorithm transforms a matrix into a vector of accessors.
template<typename T >
void mrpt::math::getTransposedAsVectorOfAccessors (CMatrixTemplate< T > &mat, std::vector< CMatrixColumnAccessor< T > > &vec)
 This algorithm transforms a matrix into a vector of accessors.
template<typename T >
void mrpt::math::getTransposedAsVectorOfAccessors (const CMatrixTemplate< T > &mat, std::vector< CConstMatrixColumnAccessor< T > > &vec)
 This algorithm transforms a matrix into a vector of accessors.



Page generated by Doxygen 1.6.2 for MRPT 0.8.1 SVN:exported at Mon Feb 15 22:01:07 UTC 2010