Skip to content
Snippets Groups Projects
Verified Commit da54f6fe authored by Justin Carpentier's avatar Justin Carpentier
Browse files

python: expose getNumpyType

parent 54a9826b
No related branches found
No related tags found
No related merge requests found
......@@ -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.");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment