Michele De Stefano's C++ Utilities
|
Contains converters for the boost::numeric::ublas::vector class. More...
#include <boost/numeric/ublas/vector.hpp>
#include <mds_utils/python/ublas/detail/common.hpp>
#include <mds_utils/ublas/traits.hpp>
#include <type_traits>
Go to the source code of this file.
Namespaces | |
mds_utils | |
Main namespace of all Michele De Stefano's C++ utilities. | |
mds_utils::python | |
Namespace of all Michele De Stefano's C++ Python utilities. | |
mds_utils::python::ublas | |
Contains several utilities for interfacing Python with Boost's uBLAS. | |
Functions | |
template<class ublas_vec_T > | |
std::enable_if< mds_utils::ublas::is_vector< ublas_vec_T >::value, ublas_vec_T >::type | mds_utils::python::ublas::get (PyObject *po) |
"From python" converter for Boost uBLAS vectors. More... | |
template<class ublas_vec_T > | |
std::enable_if< mds_utils::ublas::is_vector< ublas_vec_T >::value, PyObject * >::type | mds_utils::python::ublas::to_python (const ublas_vec_T &v) |
"To python" converter for Boost uBLAS vectors. More... | |
Contains converters for the boost::numeric::ublas::vector class.
Look at vector.i and vector_usage.i for usage examples.
Definition in file vector.hpp.