MRPT
2.0.1
mrpt
math
math_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-2020, 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
#include <cstddef>
// std:size_t
12
13
/*! \file math_frwds.h
14
* Forward declarations of all mrpt::math classes related to vectors, arrays
15
* and matrices.
16
* Many of the function implementations are in ops_matrices.h, others in
17
* ops_containers.h
18
*/
19
20
// Minimum Eigen forward declarations for use in MRPT templates:
21
namespace
Eigen
22
{
23
template
<
typename
PlainObjectType,
int
MapOptions,
typename
Str
id
eType>
24
class
Map
;
25
template
<
int
Value>
26
class
InnerStride
;
27
template
<
int
Outter,
int
Inner>
28
class
Stride
;
29
template
<
30
typename
_Scalar,
int
_Rows,
int
_Cols,
int
_Options,
31
int
_MaxRows
/*= _Rows*/
,
int
_MaxCols
/* = _Cols*/
>
32
class
Matrix
;
33
// For reference: _Options =
34
// /*AutoAlign*/ 0 | ((_Rows == 1 && _Cols != 1) ? /*Eigen::RowMajor*/ 1
35
// : (_Cols == 1 && _Rows != 1) ? /*Eigen::ColMajor*/ 0 : /*default: Col*/ 0)
36
// ==> That is: _Options=1 for RowMajor as it's the default in MRPT matrices.
37
38
template
<
typename
Derived>
39
class
MatrixBase
;
40
template
<
typename
Derived>
41
struct
EigenBase
;
42
template
<
typename
VectorType,
int
Size>
43
class
VectorBlock
;
44
template
<
typename
_Lhs,
typename
_Rhs,
int
Option>
45
class
Product
;
46
template
<
typename
BinaryOp,
typename
LhsType,
typename
RhsType>
47
class
CwiseBinaryOp
;
48
}
// namespace Eigen
49
50
namespace
mrpt::math
51
{
52
/** For usage in one of the constructors of CMatrixFixed or
53
CMatrixDynamic (and derived classes), if it's not required
54
to fill it with zeros at the constructor to save time. */
55
enum
TConstructorFlags_Matrices
56
{
57
UNINITIALIZED_MATRIX
= 0
58
};
59
60
template
<
class
T>
61
class
CMatrixDynamic;
62
template
<
typename
T, std::
size_t
ROWS, std::
size_t
COLS>
63
class
CMatrixFixed;
64
65
}
// namespace mrpt::math
mrpt::math::TConstructorFlags_Matrices
TConstructorFlags_Matrices
For usage in one of the constructors of CMatrixFixed or CMatrixDynamic (and derived classes)...
Definition:
math_frwds.h:55
Eigen::MatrixBase
Definition:
math_frwds.h:39
mrpt::math::UNINITIALIZED_MATRIX
Definition:
math_frwds.h:57
Eigen
Definition:
math_frwds.h:21
mrpt::math
This base provides a set of functions for maths stuff.
Definition:
math/include/mrpt/math/bits_math.h:11
Eigen::EigenBase
Definition:
math_frwds.h:41
Eigen::CwiseBinaryOp
Definition:
math_frwds.h:47
Eigen::VectorBlock
Definition:
math_frwds.h:43
Eigen::Matrix
Definition:
math_frwds.h:32
Eigen::InnerStride
Definition:
math_frwds.h:26
Eigen::Product
Definition:
math_frwds.h:45
Eigen::Stride
Definition:
math_frwds.h:28
Eigen::Map
Definition:
math_frwds.h:24
Page generated by
Doxygen 1.8.14
for MRPT 2.0.1 Git: 0fef1a6d7 Fri Apr 3 23:00:21 2020 +0200 at vie abr 3 23:20:28 CEST 2020