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 }
Eigen
Definition: eigen_frwds.h:15
mrpt::math::dynamic_vector
Column vector, like Eigen::MatrixX*, but automatically initialized to zeros since construction.
Definition: eigen_frwds.h:44
Eigen::EigenBase
Definition: eigen_frwds.h:18
mrpt
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
Definition: CKalmanFilterCapable.h:30
Scalar
double Scalar
Definition: KmUtils.h:44
mrpt::math::CMatrixTemplateNumeric
A matrix of dynamic size.
Definition: CMatrixTemplateNumeric.h:37
mrpt::math::ContainerType< Eigen::EigenBase< Derived > >::element_t
typename Derived::Scalar element_t
Definition: eigen_frwds.h:35
mrpt::math::ContainerType
ContainerType<T>::element_t exposes the value of any STL or Eigen container.
Definition: eigen_frwds.h:30
mrpt::math::CMatrixFixedNumeric
A numeric matrix of compile-time fixed size.
Definition: CMatrixFixedNumeric.h:40
Eigen::MatrixBase
Definition: eigen_frwds.h:20



Page generated by Doxygen 1.8.17 for MRPT 1.9.9 Git: ad3a9d8ae Tue May 1 23:10:22 2018 -0700 at miƩ 12 jul 2023 10:03:34 CEST