Main MRPT website > C++ reference for MRPT 1.9.9
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-2018, 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:
15 namespace Eigen
16 {
17 template <typename Derived>
18 struct EigenBase;
19 template <typename Derived>
20 class MatrixBase;
21 }
22 
23 namespace mrpt
24 {
25 namespace math
26 {
27 /** ContainerType<T>::element_t exposes the value of any STL or Eigen container
28  */
29 template <typename CONTAINER>
31 /** Specialization for Eigen containers */
32 template <typename Derived>
33 struct ContainerType<Eigen::EigenBase<Derived>>
34 {
35  using element_t = typename Derived::Scalar;
36 };
37 
38 // Dynamic size:
39 template <class T>
43 template <typename T>
47 
48 // Fixed size:
49 template <typename T, size_t NROWS, size_t NCOLS>
51 
52 /** @name Typedefs for common sizes
53  @{ */
72 
90 /** @} */
91 }
92 }
double Scalar
Definition: KmUtils.h:44
Column vector, like Eigen::MatrixX*, but automatically initialized to zeros since construction...
Definition: eigen_frwds.h:44
A numeric matrix of compile-time fixed size.
ContainerType<T>::element_t exposes the value of any STL or Eigen container.
Definition: eigen_frwds.h:30
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.



Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: ad3a9d8ae Tue May 1 23:10:22 2018 -0700 at lun oct 28 00:14:14 CET 2019