Mantid
|
Converter that takes a std::vector and converts it into a flat numpy array. More...
#include <VectorToNDArray.h>
Public Member Functions | |
PyObject * | 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 flat numpy array.
The type of conversion is specified by another struct/class that contains a static member create1D.
Definition at line 26 of file VectorToNDArray.h.
|
inline |
Converts a cvector to a numpy array.
cdata | :: A const reference to a vector |
Definition at line 32 of file VectorToNDArray.h.