Main Page
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
l
m
n
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
i
m
n
p
r
s
t
u
w
Variables
_
a
b
c
d
e
f
h
i
l
m
n
p
q
r
s
t
u
v
w
x
y
z
Typedefs
Enumerations
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
~
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
~
Variables
b
c
d
e
f
i
j
l
m
n
o
p
s
t
v
w
x
y
Typedefs
_
a
b
c
d
e
f
i
k
l
m
n
p
q
r
s
t
v
Enumerator
Related Functions
Files
File List
File Members
All
_
a
b
c
d
e
f
g
i
l
m
n
p
r
s
t
v
z
Functions
_
a
b
c
d
e
f
g
i
l
m
n
p
r
s
t
v
z
Macros
_
b
e
n
p
include
eigenpy
eigen
EigenBase.hpp
Go to the documentation of this file.
1
/*
2
* Copyright 2024 INRIA
3
*/
4
5
#ifndef __eigenpy_eigen_eigen_base_hpp__
6
#define __eigenpy_eigen_eigen_base_hpp__
7
8
#include "
eigenpy/eigenpy.hpp
"
9
10
namespace
eigenpy
{
11
12
template
<
typename
Derived>
13
struct
EigenBaseVisitor
14
:
public
boost::python::def_visitor<EigenBaseVisitor<Derived> > {
15
template
<
class
PyClass>
16
void
visit
(PyClass &cl)
const
{
17
cl.def(
"cols"
, &
Derived::cols
, bp::arg(
"self"
),
18
"Returns the number of columns."
)
19
.def(
"rows"
, &
Derived::rows
, bp::arg(
"self"
),
20
"Returns the number of rows."
)
21
.def(
"size"
, &
Derived::rows
, bp::arg(
"self"
),
22
"Returns the number of coefficients, which is rows()*cols()."
);
23
}
24
};
25
26
}
// namespace eigenpy
27
28
#endif // ifndef __eigenpy_eigen_eigen_base_hpp__
eigenpy::EigenBaseVisitor::visit
void visit(PyClass &cl) const
Definition:
EigenBase.hpp:16
test_complex.rows
int rows
Definition:
test_complex.py:4
eigenpy
Definition:
alignment.hpp:14
eigenpy::EigenBaseVisitor
Definition:
EigenBase.hpp:13
eigenpy.hpp
test_complex.cols
int cols
Definition:
test_complex.py:5
eigenpy
Author(s): Justin Carpentier, Nicolas Mansard
autogenerated on Fri Feb 14 2025 03:16:25