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...
#include <mrpt/math/matrices_metaprogramming.h>
Public Types | |
| typedef CArrayNumeric< T, NR1 > | vec_type |
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.
This assume usage of DECLARE_MRPT_CONTAINER, etc. Example of usage with the helper macro ARRAY_TYPE_SAMESIZE_ROWS_OF():
void f(MAT1 m1) { ARRAY_TYPE_SAMESIZE_ROWS_OF(MAT1) res = ... ...
Definition at line 263 of file matrices_metaprogramming.h.
| typedef CArrayNumeric<T,NR1> mrpt::math::detail::TArrayOrVectorRowCountOfType< T, NR1 >::vec_type |
Definition at line 265 of file matrices_metaprogramming.h.
| Page generated by Doxygen 1.6.1 for MRPT 0.9.0 SVN: at Mon Jun 7 06:47:58 UTC 2010 |