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
bindings
python
extra
mpfr
boost_number.cpp
Go to the documentation of this file.
1
//
2
// Copyright (c) 2022 INRIA
3
//
4
5
#include "
pinocchio/bindings/python/context/mpfr.hpp
"
6
7
#include <
eigenpy/eigenpy.hpp
>
8
#include "
pinocchio/bindings/python/math/multiprecision/boost/number.hpp
"
9
10
namespace
pinocchio
11
{
12
namespace
python
13
{
14
void
exposeSpecificTypeFeatures
()
15
{
16
BoostNumberPythonVisitor<PINOCCHIO_PYTHON_SCALAR_TYPE>::expose
(
"mpfr"
);
17
};
18
19
boost::python::object
getScalarType
()
20
{
21
namespace
bp
=
boost::python
;
22
PyTypeObject * pytype =
const_cast<
PyTypeObject *
>
(
23
bp::converter::registered_pytype_direct<PINOCCHIO_PYTHON_SCALAR_TYPE>::get_pytype());
24
return
bp::object(bp::handle<>(bp::borrowed(
reinterpret_cast<
PyObject *
>
(pytype))));
25
}
26
}
// namespace python
27
}
// namespace pinocchio
boost::python
eigenpy.hpp
number.hpp
pinocchio::python::getScalarType
boost::python::object getScalarType()
Definition:
boost_number.cpp:19
pinocchio::python::exposeSpecificTypeFeatures
void exposeSpecificTypeFeatures()
Definition:
boost_number.cpp:14
python
mpfr.hpp
pinocchio::python::BoostNumberPythonVisitor::expose
static void expose(const std::string &type_name)
Definition:
number.hpp:154
pinocchio
Main pinocchio namespace.
Definition:
timings.cpp:33
pinocchio
Author(s):
autogenerated on Fri Apr 25 2025 02:41:34