Main MRPT website > C++ reference
MRPT logo
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-2015, 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 #include <Eigen/src/Core/util/DisableStupidWarnings.h>
15 #include <Eigen/src/Core/util/Macros.h>
16 #include <complex> // Needed by hdrs below
17 
18 #define STAGE99_NO_EIGEN2_SUPPORT 99
19 #define EIGEN2_SUPPORT_STAGE STAGE99_NO_EIGEN2_SUPPORT
20 
21 #if !EIGEN_VERSION_AT_LEAST(3,0,93)
22 namespace Eigen {
23 #endif
24 // These headers were assumed to lie inside namespace Eigen{} in Eigen <=3.1.0
25 # include <Eigen/src/Core/util/Constants.h>
26 # include <Eigen/src/Core/util/ForwardDeclarations.h>
27 
28 #if !EIGEN_VERSION_AT_LEAST(3,0,93)
29 }
30 #endif
31 
32 #undef STAGE99_NO_EIGEN2_SUPPORT
33 #undef EIGEN2_SUPPORT_STAGE
34 
35 namespace mrpt
36 {
37  namespace math
38  {
39  /** ContainerType<T>::element_t exposes the value of any STL or Eigen container */
40  template <typename CONTAINER> struct ContainerType;
41  /** Specialization for Eigen containers */
42  template <typename Derived>
43  struct ContainerType<Eigen::EigenBase<Derived> > {
44  typedef typename Derived::Scalar element_t;
45  };
46 
47  // Dynamic size:
48  template <class T> class CMatrixTemplateNumeric;
51  template <typename T> class dynamic_vector;
54 
55 
56  // Fixed size:
57  template <typename T,size_t NROWS,size_t NCOLS> class CMatrixFixedNumeric;
58 
59  /** @name Typedefs for common sizes
60  @{ */
79 
97  /** @} */
98 
99  }
100 }
CMatrixFixedNumeric< float, 1, 5 > CMatrixFloat15
Definition: eigen_frwds.h:96
CMatrixFixedNumeric< double, 5, 1 > CMatrixDouble51
Definition: eigen_frwds.h:76
CMatrixFixedNumeric< float, 1, 3 > CMatrixFloat13
Definition: eigen_frwds.h:87
CMatrixFixedNumeric< float, 2, 1 > CMatrixFloat21
Definition: eigen_frwds.h:90
CMatrixFixedNumeric< double, 3, 1 > CMatrixDouble31
Definition: eigen_frwds.h:69
CMatrixFixedNumeric< float, 2, 2 > CMatrixFloat22
Definition: eigen_frwds.h:80
CMatrixFixedNumeric< float, 1, 2 > CMatrixFloat12
Definition: eigen_frwds.h:89
CMatrixFixedNumeric< float, 7, 1 > CMatrixFloat71
Definition: eigen_frwds.h:93
CMatrixFixedNumeric< float, 3, 2 > CMatrixFloat32
Definition: eigen_frwds.h:82
Column vector, like Eigen::MatrixX*, but automatically initialized to zeros since construction...
Definition: eigen_frwds.h:51
CMatrixFixedNumeric< double, 4, 4 > CMatrixDouble44
Definition: eigen_frwds.h:65
CMatrixFixedNumeric< float, 6, 1 > CMatrixFloat61
Definition: eigen_frwds.h:91
CMatrixFixedNumeric< double, 2, 1 > CMatrixDouble21
Definition: eigen_frwds.h:71
dynamic_vector< float > CVectorFloat
Column vector, like Eigen::MatrixXf, but automatically initialized to zeros since construction...
Definition: eigen_frwds.h:51
CMatrixFixedNumeric< double, 1, 6 > CMatrixDouble16
Definition: eigen_frwds.h:73
CMatrixFixedNumeric< double, 2, 3 > CMatrixDouble23
Definition: eigen_frwds.h:62
CMatrixFixedNumeric< float, 5, 1 > CMatrixFloat51
Definition: eigen_frwds.h:95
A numeric matrix of compile-time fixed size.
CMatrixFixedNumeric< float, 7, 7 > CMatrixFloat77
Definition: eigen_frwds.h:86
CMatrixFixedNumeric< double, 1, 2 > CMatrixDouble12
Definition: eigen_frwds.h:70
CMatrixFixedNumeric< double, 7, 7 > CMatrixDouble77
Definition: eigen_frwds.h:67
CMatrixTemplateNumeric< double > CMatrixDouble
Declares a matrix of double numbers (non serializable).
CMatrixFixedNumeric< double, 3, 3 > CMatrixDouble33
Definition: eigen_frwds.h:64
CMatrixTemplateNumeric< float > CMatrixFloat
Declares a matrix of float numbers (non serializable).
CMatrixFixedNumeric< double, 1, 7 > CMatrixDouble17
Definition: eigen_frwds.h:75
CMatrixFixedNumeric< double, 4, 1 > CMatrixDouble41
Definition: eigen_frwds.h:78
CMatrixFixedNumeric< float, 2, 3 > CMatrixFloat23
Definition: eigen_frwds.h:81
ContainerType::element_t exposes the value of any STL or Eigen container.
Definition: eigen_frwds.h:40
CMatrixFixedNumeric< double, 1, 3 > CMatrixDouble13
Definition: eigen_frwds.h:68
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
CMatrixFixedNumeric< float, 3, 1 > CMatrixFloat31
Definition: eigen_frwds.h:88
CMatrixFixedNumeric< double, 3, 2 > CMatrixDouble32
Definition: eigen_frwds.h:63
CMatrixFixedNumeric< double, 1, 5 > CMatrixDouble15
Definition: eigen_frwds.h:77
dynamic_vector< double > CVectorDouble
Column vector, like Eigen::MatrixXd, but automatically initialized to zeros since construction...
Definition: eigen_frwds.h:53
CMatrixFixedNumeric< float, 6, 6 > CMatrixFloat66
Definition: eigen_frwds.h:85
CMatrixFixedNumeric< double, 7, 1 > CMatrixDouble71
Definition: eigen_frwds.h:74
CMatrixFixedNumeric< float, 1, 7 > CMatrixFloat17
Definition: eigen_frwds.h:94
CMatrixFixedNumeric< double, 6, 6 > CMatrixDouble66
Definition: eigen_frwds.h:66
CMatrixFixedNumeric< double, 6, 1 > CMatrixDouble61
Definition: eigen_frwds.h:72
CMatrixFixedNumeric< float, 3, 3 > CMatrixFloat33
Definition: eigen_frwds.h:83
CMatrixFixedNumeric< float, 1, 6 > CMatrixFloat16
Definition: eigen_frwds.h:92
CMatrixFixedNumeric< float, 4, 4 > CMatrixFloat44
Definition: eigen_frwds.h:84
CMatrixFixedNumeric< double, 2, 2 > CMatrixDouble22
Definition: eigen_frwds.h:61



Page generated by Doxygen 1.8.9.1 for MRPT 1.3.0 SVN: at Sun Sep 13 03:55:12 UTC 2015