![]() |
NumCpp
2.4.0
A Templatized Header Only C++ Implementation of the Python NumPy Library
|
Data Structures | |
class | BoostNdarrayHelper |
Helper class for ndarray. More... | |
Functions | |
template<typename dtype > | |
NdArray< dtype > | boost2Nc (const boost::python::numpy::ndarray &inArray) |
template<typename T > | |
std::vector< T > | list2vector (const boost::python::list &inList) |
template<class Key , class Value > | |
boost::python::dict | map2dict (const std::map< Key, Value > &inMap) |
template<typename dtype > | |
boost::python::numpy::ndarray | nc2Boost (const NdArray< dtype > &inArray) |
template<typename T > | |
boost::python::list | vector2list (std::vector< T > &inVector) |
|
inline |
Converts from a boost ndarray to a NumCpp NdArray<T>
inArray |
|
inline |
converts a boost python list to a std::vector
inList |
|
inline |
converts a std::map in to a boost python dictionary
inMap |
|
inline |
Converts from a NumCpp NdArray<T> to a boost ndarray
inArray |
|
inline |
converts a std::vector to a boost python list
inVector |