MRPT logo
Classes | Namespaces

matrices_metaprogramming.h File Reference

#include <mrpt/math/math_frwds.h>
Include dependency graph for matrices_metaprogramming.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  mrpt::math::detail::TMatrixProductType< T, NR1, NC1, NR2, NC2 >
 TMatrixProductType: Metaprogramming helper to determine the type of the product of two matrices, in compile time. More...
struct  mrpt::math::detail::TMatrixProductType< T, size_t(-1), size_t(-1), size_t(-1), size_t(-1)>
struct  mrpt::math::detail::TMatrixProductType< T, NR1, NC1, size_t(-1), size_t(-1)>
struct  mrpt::math::detail::TMatrixProductType< T, size_t(-1), size_t(-1), NR2, NC2 >
struct  mrpt::math::detail::TMatrixTransposeType< T, NR1, NC1 >
 TMatrixTransposeType: Metaprogramming helper to determine the type of the transpose of a matrix in compile time. More...
struct  mrpt::math::detail::TMatrixTransposeType< T, size_t(-1), size_t(-1)>
struct  mrpt::math::detail::TMatrixCovarianceType< T, NR1, NC1 >
 TMatrixCovarianceType: Metaprogramming helper to determine the type of the MxM covariance matrix of an NxM matrix with samples in each row, in compile time. More...
struct  mrpt::math::detail::TMatrixCovarianceType< T, size_t(-1), size_t(-1)>
struct  mrpt::math::detail::TMatrixSameSizeOfType< T, NR1, NC1 >
 TMatrixSameSizeOfType: Metaprogramming helper to create a matrix of the same size that another type, in compile time. More...
struct  mrpt::math::detail::TMatrixSameSizeOfType< T, size_t(-1), size_t(-1)>
struct  mrpt::math::detail::TArrayOrVectorRowCountOfType< T, NR1 >
 TArrayOrVectorRowCountOfType: Metaprogramming helper to create a CArray or a std::vector<> with its size to the number of rows of a matrix, in compile time. More...
struct  mrpt::math::detail::TArrayOrVectorRowCountOfType< T, size_t(-1)>

Namespaces

namespace  mrpt
 

This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.


namespace  mrpt::math
 

This base provides a set of functions for maths stuff.


namespace  mrpt::math::detail

Defines

Matrix metaprogramming helpers @{

#define MAT_TYPE_PRODUCT_OF(MAT_1, MAT_2)
#define MAT_TYPE_TRANSPOSE_OF(MAT)
#define MAT_TYPE_COVARIANCE_OF(MAT)
#define MAT_TYPE_SAMESIZE_OF(MAT)
#define ARRAY_TYPE_SAMESIZE_ROWS_OF(MAT)

Define Documentation

#define ARRAY_TYPE_SAMESIZE_ROWS_OF (   MAT  ) 
Value:
typename mrpt::math::detail::TArrayOrVectorRowCountOfType< \
                        typename MAT::value_type, \
                        MAT::mrpt_matrix_type_nrows>::vec_type

Definition at line 196 of file matrices_metaprogramming.h.

Referenced by mrpt::math::detail::eigenVectorsMatrix().

#define MAT_TYPE_COVARIANCE_OF (   MAT  ) 
Value:
typename mrpt::math::detail::TMatrixCovarianceType< \
                        typename MAT::value_type, \
                        MAT::mrpt_matrix_type_nrows, \
                        MAT::mrpt_matrix_type_ncols>::mat_type

Definition at line 137 of file matrices_metaprogramming.h.

#define MAT_TYPE_PRODUCT_OF (   MAT_1,
  MAT_2 
)
Value:
typename mrpt::math::detail::TMatrixProductType< \
                        typename MAT_1::value_type, \
                        MAT_1::mrpt_matrix_type_nrows, \
                        MAT_1::mrpt_matrix_type_ncols, \
                        MAT_2::mrpt_matrix_type_nrows, \
                        MAT_2::mrpt_matrix_type_ncols>::mat_type

Definition at line 74 of file matrices_metaprogramming.h.

#define MAT_TYPE_SAMESIZE_OF (   MAT  ) 
#define MAT_TYPE_TRANSPOSE_OF (   MAT  ) 
Value:
typename mrpt::math::detail::TMatrixTransposeType< \
                        typename MAT::value_type, \
                        MAT::mrpt_matrix_type_nrows, \
                        MAT::mrpt_matrix_type_ncols>::mat_type

Definition at line 106 of file matrices_metaprogramming.h.




Page generated by Doxygen 1.7.1 for MRPT 0.8.1 SVN:exported at Sun Sep 19 14:53:45 UTC 2010