Main MRPT website > C++ reference for MRPT 1.4.0
eigen_frwds.h
Go to the documentation of this file.
1/* +---------------------------------------------------------------------------+
2 | Mobile Robot Programming Toolkit (MRPT) |
3 | http://www.mrpt.org/ |
4 | |
5 | Copyright (c) 2005-2016, Individual contributors, see AUTHORS file |
6 | See: http://www.mrpt.org/Authors - All rights reserved. |
7 | Released under BSD License. See details in http://www.mrpt.org/License |
8 +---------------------------------------------------------------------------+ */
9#pragma once
10
11// Eigen forward declarations:
12#include <mrpt/config.h>
13
14// Minimum Eigen fwrd-decls:
15namespace Eigen {
16 template<typename Derived> struct EigenBase;
17}
18
19namespace mrpt
20{
21 namespace math
22 {
23 /** ContainerType<T>::element_t exposes the value of any STL or Eigen container */
24 template <typename CONTAINER> struct ContainerType;
25 /** Specialization for Eigen containers */
26 template <typename Derived>
27 struct ContainerType<Eigen::EigenBase<Derived> > {
28 typedef typename Derived::Scalar element_t;
29 };
30
31 // Dynamic size:
32 template <class T> class CMatrixTemplateNumeric;
35 template <typename T> class dynamic_vector;
38
39
40 // Fixed size:
41 template <typename T,size_t NROWS,size_t NCOLS> class CMatrixFixedNumeric;
42
43 /** @name Typedefs for common sizes
44 @{ */
63
81 /** @} */
82
83 }
84}
A numeric matrix of compile-time fixed size.
Column vector, like Eigen::MatrixX*, but automatically initialized to zeros since construction.
Definition: types_math.h:65
CMatrixFixedNumeric< double, 5, 1 > CMatrixDouble51
Definition: eigen_frwds.h:60
CMatrixFixedNumeric< double, 2, 1 > CMatrixDouble21
Definition: eigen_frwds.h:55
CMatrixFixedNumeric< float, 6, 1 > CMatrixFloat61
Definition: eigen_frwds.h:75
CMatrixFixedNumeric< float, 2, 3 > CMatrixFloat23
Definition: eigen_frwds.h:65
CMatrixFixedNumeric< double, 4, 4 > CMatrixDouble44
Definition: eigen_frwds.h:49
CMatrixFixedNumeric< float, 1, 5 > CMatrixFloat15
Definition: eigen_frwds.h:80
CMatrixFixedNumeric< float, 7, 7 > CMatrixFloat77
Definition: eigen_frwds.h:70
CMatrixFixedNumeric< float, 7, 1 > CMatrixFloat71
Definition: eigen_frwds.h:77
CMatrixFixedNumeric< double, 1, 2 > CMatrixDouble12
Definition: eigen_frwds.h:54
CMatrixFixedNumeric< float, 3, 1 > CMatrixFloat31
Definition: eigen_frwds.h:72
CMatrixFixedNumeric< double, 6, 1 > CMatrixDouble61
Definition: eigen_frwds.h:56
CMatrixFixedNumeric< double, 3, 3 > CMatrixDouble33
Definition: eigen_frwds.h:48
CMatrixFixedNumeric< double, 1, 7 > CMatrixDouble17
Definition: eigen_frwds.h:59
CMatrixFixedNumeric< float, 4, 4 > CMatrixFloat44
Definition: eigen_frwds.h:68
CMatrixFixedNumeric< double, 6, 6 > CMatrixDouble66
Definition: eigen_frwds.h:50
CMatrixFixedNumeric< double, 7, 1 > CMatrixDouble71
Definition: eigen_frwds.h:58
CMatrixFixedNumeric< double, 3, 1 > CMatrixDouble31
Definition: eigen_frwds.h:53
CMatrixFixedNumeric< float, 1, 7 > CMatrixFloat17
Definition: eigen_frwds.h:78
CMatrixFixedNumeric< double, 2, 3 > CMatrixDouble23
Definition: eigen_frwds.h:46
dynamic_vector< float > CVectorFloat
Column vector, like Eigen::MatrixXf, but automatically initialized to zeros since construction.
Definition: eigen_frwds.h:36
CMatrixFixedNumeric< double, 2, 2 > CMatrixDouble22
Definition: eigen_frwds.h:45
dynamic_vector< double > CVectorDouble
Column vector, like Eigen::MatrixXd, but automatically initialized to zeros since construction.
Definition: eigen_frwds.h:37
CMatrixFixedNumeric< float, 3, 3 > CMatrixFloat33
Definition: eigen_frwds.h:67
CMatrixFixedNumeric< double, 3, 2 > CMatrixDouble32
Definition: eigen_frwds.h:47
CMatrixFixedNumeric< float, 1, 2 > CMatrixFloat12
Definition: eigen_frwds.h:73
CMatrixTemplateNumeric< float > CMatrixFloat
Declares a matrix of float numbers (non serializable).
CMatrixTemplateNumeric< double > CMatrixDouble
Declares a matrix of double numbers (non serializable).
CMatrixFixedNumeric< float, 1, 6 > CMatrixFloat16
Definition: eigen_frwds.h:76
CMatrixFixedNumeric< double, 4, 1 > CMatrixDouble41
Definition: eigen_frwds.h:62
CMatrixFixedNumeric< double, 1, 5 > CMatrixDouble15
Definition: eigen_frwds.h:61
CMatrixFixedNumeric< float, 6, 6 > CMatrixFloat66
Definition: eigen_frwds.h:69
CMatrixFixedNumeric< float, 1, 3 > CMatrixFloat13
Definition: eigen_frwds.h:71
CMatrixFixedNumeric< float, 2, 1 > CMatrixFloat21
Definition: eigen_frwds.h:74
CMatrixFixedNumeric< float, 2, 2 > CMatrixFloat22
Definition: eigen_frwds.h:64
CMatrixFixedNumeric< float, 3, 2 > CMatrixFloat32
Definition: eigen_frwds.h:66
CMatrixFixedNumeric< double, 1, 3 > CMatrixDouble13
Definition: eigen_frwds.h:52
CMatrixFixedNumeric< double, 7, 7 > CMatrixDouble77
Definition: eigen_frwds.h:51
CMatrixFixedNumeric< double, 1, 6 > CMatrixDouble16
Definition: eigen_frwds.h:57
CMatrixFixedNumeric< float, 5, 1 > CMatrixFloat51
Definition: eigen_frwds.h:79
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
ContainerType<T>::element_t exposes the value of any STL or Eigen container.
Definition: math_frwds.h:84



Page generated by Doxygen 1.9.6 for MRPT 1.4.0 SVN: at Wed Mar 22 09:54:56 UTC 2023