|
Mantid
|
Converter that takes a Mantid Matrix and converts it into a numpy array. More...
#include <MatrixToNDArray.h>
Public Member Functions | |
| PyObject * | operator() (const Kernel::Matrix< ElementType > &cmatrix) const |
| Operator to convert a matrix to a numpy array. | |
Converter that takes a Mantid Matrix and converts it into a numpy array.
The type of conversion is specified by another struct/class that contains a static member create.
Definition at line 27 of file MatrixToNDArray.h.
|
inline |
Operator to convert a matrix to a numpy array.
| cmatrix | :: A reference to matrix |
Definition at line 33 of file MatrixToNDArray.h.
References Mantid::Kernel::Matrix< T >::size().