Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
x
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
f
g
i
j
l
m
n
p
q
r
s
t
u
v
x
y
z
Enumerations
Enumerator
a
b
c
e
f
g
j
l
m
o
p
r
s
u
v
w
Classes
Class List
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
p
q
r
s
t
u
v
z
Enumerations
Enumerator
a
b
c
d
f
i
l
m
n
o
r
s
u
v
Related Functions
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
Functions
a
b
c
d
e
f
g
i
j
l
m
n
o
p
q
r
s
t
u
w
Variables
a
b
c
d
e
f
g
h
i
k
l
m
o
p
r
s
t
u
v
Typedefs
a
c
d
g
j
m
p
r
s
t
v
Enumerator
Macros
_
a
b
d
e
f
h
i
j
k
m
o
p
q
r
s
v
Examples
include
pinocchio
fwd.hpp
Go to the documentation of this file.
1
//
2
// Copyright (c) 2018-2024 CNRS INRIA
3
//
4
5
#ifndef __pinocchio_fwd_hpp__
6
#define __pinocchio_fwd_hpp__
7
8
// Forward declaration of the main pinocchio namespace
9
namespace
pinocchio
10
{
11
}
12
13
#ifdef _WIN32
14
#include <windows.h>
15
#undef far
16
#undef near
17
#endif
18
19
#include <cassert>
20
21
#include "
pinocchio/macros.hpp
"
22
#include "
pinocchio/deprecation.hpp
"
23
#include "pinocchio/warning.hpp"
24
#include "pinocchio/config.hpp"
25
#include "
pinocchio/unsupported.hpp
"
26
27
#include "
pinocchio/utils/helpers.hpp
"
28
#include "
pinocchio/utils/cast.hpp
"
29
#include "
pinocchio/utils/check.hpp
"
30
31
#include "
pinocchio/container/boost-container-limits.hpp
"
32
33
#ifdef PINOCCHIO_EIGEN_CHECK_MALLOC
34
#ifndef EIGEN_RUNTIME_NO_MALLOC
35
#define EIGEN_RUNTIME_NO_MALLOC_WAS_NOT_DEFINED
36
#define EIGEN_RUNTIME_NO_MALLOC
37
#endif
38
#endif
39
40
#include <Eigen/Core>
41
#include <Eigen/Sparse>
42
#include <Eigen/SparseCholesky>
43
44
#ifdef PINOCCHIO_WITH_ACCELERATE_SUPPORT
45
#include <Eigen/AccelerateSupport>
46
#endif
47
48
#ifdef PINOCCHIO_EIGEN_CHECK_MALLOC
49
#ifdef EIGEN_RUNTIME_NO_MALLOC_WAS_NOT_DEFINED
50
#undef EIGEN_RUNTIME_NO_MALLOC
51
#undef EIGEN_RUNTIME_NO_MALLOC_WAS_NOT_DEFINED
52
#endif
53
#endif
54
55
#include "
pinocchio/eigen-macros.hpp
"
56
#ifdef PINOCCHIO_WITH_EIGEN_TENSOR_MODULE
57
#include <unsupported/Eigen/CXX11/Tensor>
58
#endif
59
60
#include "
pinocchio/core/binary-op.hpp
"
61
#include "
pinocchio/core/unary-op.hpp
"
62
63
#include <cstddef>
// std::size_t
64
65
namespace
pinocchio
66
{
70
template
<
class
C>
71
struct
traits
72
{
73
};
74
76
struct
Blank
77
{
78
};
79
80
namespace
internal
81
{
82
template
<
typename
T>
83
struct
traits
84
{
85
};
86
}
// namespace internal
87
88
template
<
class
Derived>
89
struct
NumericalBase
90
{
91
typedef
typename
traits<Derived>::Scalar
Scalar
;
92
};
93
98
template
<
typename
NewScalar,
class
C>
99
struct
CastType
;
100
104
template
<
typename
To,
typename
From>
105
struct
ScalarCast
106
{
107
static
To
cast
(
const
From & value)
108
{
109
return
static_cast<
To
>
(
value
);
110
}
111
};
112
113
template
<
typename
To,
typename
From>
114
To
scalar_cast
(
const
From & value)
115
{
116
return
ScalarCast<To, From>::cast
(
value
);
117
}
118
121
enum
ArgumentPosition
122
{
123
ARG0
= 0,
124
ARG1
= 1,
125
ARG2
= 2,
126
ARG3
= 3,
127
ARG4
= 4
128
};
129
130
enum
AssignmentOperatorType
131
{
132
SETTO
,
133
ADDTO
,
134
RMTO
135
};
136
140
const
int
Dynamic
= -1;
141
144
struct
ReturnTypeNotDefined;
145
146
typedef
Eigen::Matrix<bool, Eigen::Dynamic, 1>
VectorXb
;
147
}
// namespace pinocchio
148
149
#include "
pinocchio/context.hpp
"
150
151
#endif // #ifndef __pinocchio_fwd_hpp__
pinocchio::NumericalBase
Definition:
fwd.hpp:89
pinocchio::RMTO
@ RMTO
Definition:
fwd.hpp:134
pinocchio::SETTO
@ SETTO
Definition:
fwd.hpp:132
macros.hpp
check.hpp
context.hpp
pinocchio::NumericalBase::Scalar
traits< Derived >::Scalar Scalar
Definition:
fwd.hpp:91
helpers.hpp
pinocchio::ArgumentPosition
ArgumentPosition
Argument position. Used as template parameter to refer to an argument.
Definition:
fwd.hpp:121
pinocchio::ARG3
@ ARG3
Definition:
fwd.hpp:126
pinocchio::Blank
Blank type.
Definition:
fwd.hpp:76
pinocchio::ARG0
@ ARG0
Definition:
fwd.hpp:123
cast.hpp
eigen-macros.hpp
pinocchio::ARG2
@ ARG2
Definition:
fwd.hpp:125
pinocchio::Dynamic
const int Dynamic
Definition:
fwd.hpp:140
value
float value
pinocchio::ARG1
@ ARG1
Definition:
fwd.hpp:124
pinocchio::AssignmentOperatorType
AssignmentOperatorType
Definition:
fwd.hpp:130
pinocchio::ADDTO
@ ADDTO
Definition:
fwd.hpp:133
To
Vec3f To
pinocchio::ARG4
@ ARG4
Definition:
fwd.hpp:127
pinocchio::internal::traits
Definition:
fwd.hpp:83
pinocchio::ScalarCast::cast
static To cast(const From &value)
Definition:
fwd.hpp:107
unary-op.hpp
boost-container-limits.hpp
pinocchio::traits
Common traits structure to fully define base classes for CRTP.
Definition:
fwd.hpp:71
pinocchio::VectorXb
Eigen::Matrix< bool, Eigen::Dynamic, 1 > VectorXb
Definition:
fwd.hpp:144
pinocchio::CastType
Type of the cast of a class C templated by Scalar and Options, to a new NewScalar type....
Definition:
fwd.hpp:99
binary-op.hpp
pinocchio::ScalarCast
Cast scalar type from type FROM to type TO.
Definition:
fwd.hpp:105
pinocchio::scalar_cast
To scalar_cast(const From &value)
Definition:
fwd.hpp:114
unsupported.hpp
pinocchio
Main pinocchio namespace.
Definition:
timings.cpp:33
deprecation.hpp
pinocchio
Author(s):
autogenerated on Thu Apr 10 2025 02:42:18