MRPT  1.9.9
eigen_frwds.h
Go to the documentation of this file.
1 /* +------------------------------------------------------------------------+
2  | Mobile Robot Programming Toolkit (MRPT) |
3  | https://www.mrpt.org/ |
4  | |
5  | Copyright (c) 2005-2019, Individual contributors, see AUTHORS file |
6  | See: https://www.mrpt.org/Authors - All rights reserved. |
7  | Released under BSD License. See: https://www.mrpt.org/License |
8  +------------------------------------------------------------------------+ */
9 #pragma once
10 
11 // Eigen forward declarations:
12 #include <mrpt/config.h>
13 #include <cstddef> // size_t
14 
15 // Minimum Eigen fwrd-decls:
16 namespace Eigen
17 {
18 template <typename Derived>
19 struct EigenBase;
20 template <typename Derived>
21 class MatrixBase;
22 } // namespace Eigen
23 
24 namespace mrpt
25 {
26 namespace math
27 {
28 /** ContainerType<T>::element_t exposes the value of any STL or Eigen container
29  */
30 template <typename CONTAINER>
32 /** Specialization for Eigen containers */
33 template <typename Derived>
34 struct ContainerType<Eigen::EigenBase<Derived>>
35 {
36  using element_t = typename Derived::Scalar;
37 };
38 
39 // Dynamic size:
40 template <class T>
44 template <typename T>
48 
49 // Fixed size:
50 template <typename T, size_t NROWS, size_t NCOLS>
52 
53 /** @name Typedefs for common sizes
54  @{ */
77 
95 /** @} */
96 } // namespace math
97 } // namespace mrpt
double Scalar
Definition: KmUtils.h:43
Column vector, like Eigen::MatrixX*, but automatically initialized to zeros since construction...
Definition: eigen_frwds.h:45
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:31
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: 58f856185 Mon May 20 11:43:57 2019 +0200 at lun may 20 11:50:17 CEST 2019