#include <boost/python/detail/prefix.hpp>
#include <vector>
Go to the source code of this file.
|
| template<typename ElementType > |
| PyObject * | Mantid::PythonInterface::Converters::Impl::clone1D (const std::vector< ElementType > &cvector) |
| | Returns a new numpy array with the a copy of the data from 1D vector with the exception of string elements where a Python list is produced.
|
| |
| template<typename ElementType > |
| PyObject * | Mantid::PythonInterface::Converters::Impl::cloneND (const ElementType *carray, const int ndims, Py_intptr_t *dims) |
| | Returns a new numpy array with the a copy of the data from array.
|
| |