Main MRPT website > C++ reference
MRPT logo

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::TMatrixJacobianType< T, N1, N2 >
 TMatrixJacobianType: Metaprogramming helper to determine the type of the MxN matrix from the types of two vector-like objects VECX (length N) and VECY (length M). More...
struct  mrpt::math::detail::TMatrixJacobianType< T, N1, size_t(-1)>
struct  mrpt::math::detail::TMatrixJacobianType< T, size_t(-1), N2 >
struct  mrpt::math::detail::TMatrixJacobianType< 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_TYPEDECL_PRODUCT_OF(MAT_1, MAT_2)
#define MAT_TYPE_PRODUCT_OF(MAT_1, MAT_2)
#define MAT_TYPEDECL_TRANSPOSE_OF(MAT)
#define MAT_TYPE_TRANSPOSE_OF(MAT)
#define MAT_TYPEDECL_COVARIANCE_OF(MAT)
#define MAT_TYPE_COVARIANCE_OF(MAT)
#define MAT_TYPEDECL_JACOBIAN_OF(VECX, VECY)
#define MAT_TYPE_JACOBIAN_OF(VECX, VECY)
#define MAT_TYPEDECL_SAMESIZE_OF(MAT)
#define MAT_TYPE_SAMESIZE_OF(MAT)
#define ARRAY_TYPEDECL_SAMESIZE_ROWS_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 282 of file matrices_metaprogramming.h.

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

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

Definition at line 276 of file matrices_metaprogramming.h.

#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 163 of file matrices_metaprogramming.h.

#define MAT_TYPE_JACOBIAN_OF ( VECX,
VECY   ) 
Value:
typename mrpt::math::detail::TMatrixJacobianType< \
                        typename VECX::value_type, \
                        VECX::mrpt_vector_type_len, \
                        VECY::mrpt_vector_type_len>::mat_type

Definition at line 208 of file matrices_metaprogramming.h.

Referenced by mrpt::math::transform_gaussian_linear().

#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 84 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 124 of file matrices_metaprogramming.h.

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

Definition at line 156 of file matrices_metaprogramming.h.

#define MAT_TYPEDECL_JACOBIAN_OF ( VECX,
VECY   ) 
Value:
mrpt::math::detail::TMatrixJacobianType< \
                        VECX::value_type, \
                        VECX::mrpt_vector_type_len, \
                        VECY::mrpt_vector_type_len>::mat_type

Definition at line 201 of file matrices_metaprogramming.h.

#define MAT_TYPEDECL_PRODUCT_OF ( MAT_1,
MAT_2   ) 
Value:
mrpt::math::detail::TMatrixProductType< \
                        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 75 of file matrices_metaprogramming.h.

#define MAT_TYPEDECL_SAMESIZE_OF ( MAT   ) 
Value:
mrpt::math::detail::TMatrixSameSizeOfType< \
                        MAT::value_type, \
                        MAT::mrpt_matrix_type_nrows, \
                        MAT::mrpt_matrix_type_ncols>::mat_type

Definition at line 238 of file matrices_metaprogramming.h.

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

Definition at line 117 of file matrices_metaprogramming.h.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines



Page generated by Doxygen 1.6.1 for MRPT 0.9.0 SVN: at Mon Jun 7 06:47:58 UTC 2010