Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Stack Of Tasks
eigenpy
Commits
da54f6fe
Verified
Commit
da54f6fe
authored
Nov 14, 2019
by
Justin Carpentier
Browse files
python: expose getNumpyType
parent
54a9826b
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/eigenpy.cpp
View file @
da54f6fe
...
...
@@ -17,6 +17,9 @@ namespace eigenpy
bp
::
def
(
"setNumpyType"
,
&
NumpyType
::
setNumpyType
,
bp
::
arg
(
"Numpy type (np.ndarray or np.matrix)"
),
"Change the type returned by the converters from an Eigen object."
);
bp
::
def
(
"getNumpyType"
,
&
NumpyType
::
getNumpyType
,
"Get the Numpy type returned by the converters from an Eigen object."
);
bp
::
def
(
"switchToNumpyArray"
,
&
NumpyType
::
switchToNumpyArray
,
"Set the conversion from Eigen::Matrix to numpy.ndarray."
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment