#include <CloneToNDArray.h>
|
static PyObject * | create1D (const std::vector< ElementType > &cvector) |
| Returns a Numpy array that has a copy of the vectors data. More...
|
|
static PyObject * | createFromArray (const ElementType *carray, const int ndims, Py_intptr_t *dims) |
| Returns a Numpy array that has a copy of the array data. More...
|
|
template<typename ElementType>
struct Mantid::PythonInterface::Converters::Clone::apply< ElementType >
Definition at line 27 of file CloneToNDArray.h.
◆ create1D()
template<typename ElementType >
Returns a Numpy array that has a copy of the vectors data.
- Parameters
-
cvector | An object that knows its length and is contiguous in memory |
- Returns
Definition at line 34 of file CloneToNDArray.h.
◆ createFromArray()
template<typename ElementType >
Returns a Numpy array that has a copy of the array data.
- Parameters
-
carray | :: The input data array |
ndims | :: The number of dimensions the data represents |
dims | :: The extents in each of the dimensions |
- Returns
Definition at line 42 of file CloneToNDArray.h.
The documentation for this struct was generated from the following file:
- Framework/PythonInterface/core/inc/MantidPythonInterface/core/Converters/CloneToNDArray.h