Mantid
|
Converter that takes a std::vector and converts it into a python list. More...
#include <ToPyList.h>
Public Member Functions | |
boost::python::list | operator() (const std::vector< ElementType > &cdata) const |
Converts a cvector to a numpy array. More... | |
Converter that takes a std::vector and converts it into a python list.
It is able to convert anything for which a converter is already registered
Definition at line 22 of file ToPyList.h.
|
inline |
Converts a cvector to a numpy array.
cdata | :: A const reference to a vector |
Definition at line 28 of file ToPyList.h.