Main MRPT website > C++ reference
MRPT logo

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

TMatrixTransposeType: Metaprogramming helper to determine the type of the transpose of a matrix in compile time. More...

#include <mrpt/math/matrices_metaprogramming.h>

List of all members.

Public Types

typedef CMatrixFixedNumeric< T,
NC1, NR1 > 
mat_type

Detailed Description

template<typename T, size_t NR1, size_t NC1>
struct mrpt::math::detail::TMatrixTransposeType< T, NR1, NC1 >

TMatrixTransposeType: Metaprogramming helper to determine the type of the transpose of a matrix 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_TRANSPOSE_OF():

   void f(MAT1 m1) {
        MAT_TYPE_TRANSPOSE_OF(MAT1) res = ~m1;
        ...

Definition at line 104 of file matrices_metaprogramming.h.


Member Typedef Documentation

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

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