Michele De Stefano's C++ Utilities
|
Contains converters for the boost::numeric::ublas::matrix class. More...
#include <boost/numeric/ublas/matrix.hpp>
#include <mds_utils/ublas/traits.hpp>
#include <mds_utils/python/ublas/detail/common.hpp>
#include <algorithm>
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 M > | |
std::enable_if< mds_utils::ublas::is_matrix< M >::value, M >::type | mds_utils::python::ublas::get (PyObject *po) |
"From python" converter for Boost uBLAS matrices. More... | |
template<class ublas_mat_T > | |
std::enable_if< mds_utils::ublas::is_matrix< ublas_mat_T >::value, PyObject * >::type | mds_utils::python::ublas::to_python (const ublas_mat_T &mat) |
"To python" converter for Boost uBLAS matrices. More... | |
Contains converters for the boost::numeric::ublas::matrix class.
Look at matrix.i and matrix_usage.i for usage examples.
Definition in file matrix.hpp.