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
math
taylor-expansion.hpp
Go to the documentation of this file.
1
//
2
// Copyright (c) 2018-2021 INRIA
3
//
4
5
#ifndef __pinocchio_math_taylor_expansion_hpp__
6
#define __pinocchio_math_taylor_expansion_hpp__
7
8
#include "
pinocchio/math/fwd.hpp
"
9
#include <limits>
10
11
namespace
pinocchio
12
{
13
20
template
<
typename
Scalar>
21
struct
TaylorSeriesExpansion
22
{
30
template
<
int
degree>
31
static
Scalar
precision
()
32
{
33
static
Scalar
value
=
34
math::pow(std::numeric_limits<Scalar>::epsilon(),
Scalar
(1) /
Scalar
(degree + 1));
35
return
value
;
36
}
37
38
static
Scalar
precision
(
const
int
degree)
39
{
40
return
math::pow(std::numeric_limits<Scalar>::epsilon(),
Scalar
(1) /
Scalar
(degree + 1));
41
}
42
};
// struct TaylorSeriesExpansion
43
44
}
// namespace pinocchio
45
46
#endif // ifndef __pinocchio_math_taylor_expansion_hpp__
pinocchio::TaylorSeriesExpansion::precision
static Scalar precision()
Computes the expected tolerance of the argument of a Taylor series expansion for a certain degree acc...
Definition:
taylor-expansion.hpp:31
fwd.hpp
value
float value
pinocchio::TaylorSeriesExpansion::precision
static Scalar precision(const int degree)
Definition:
taylor-expansion.hpp:38
Scalar
double Scalar
Definition:
timings-cppad-jit.cpp:37
pinocchio
Main pinocchio namespace.
Definition:
timings.cpp:33
pinocchio
Author(s):
autogenerated on Wed Apr 16 2025 02:41:51