Main MRPT website > C++ reference
MRPT logo

mrpt::math::detail::TMatrixCovarianceType< T, NR1, NC1 > Struct Template Reference

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...

#include <mrpt/math/matrices_metaprogramming.h>

List of all members.

Public Types

typedef CMatrixFixedNumeric< T,
NC1, NC1 > 
mat_type

Detailed Description

template<typename T, size_t NR1, size_t NC1>
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.

This assume usage of DECLARE_MRPT_CONTAINER_IS_MATRIX and DECLARE_MRPT_CONTAINER_IS_MATRIX_FIXED. Example of usage with the helper macro MAT_TYPE_COVARIANCE_OF():

   void f(MAT1 m1) {
        MAT_TYPE_COVARIANCE_OF(MAT1) res = ...
        ...

Definition at line 143 of file matrices_metaprogramming.h.


Member Typedef Documentation

template<typename T , size_t NR1, size_t NC1>
typedef CMatrixFixedNumeric<T,NC1,NC1> mrpt::math::detail::TMatrixCovarianceType< T, NR1, NC1 >::mat_type

Definition at line 145 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