Mantid
Loading...
Searching...
No Matches
Namespaces | Macros | Functions
MatrixToNDArray.cpp File Reference
#include "MantidPythonInterface/core/Converters/MatrixToNDArray.h"
#include "MantidPythonInterface/core/Converters/NDArrayTypeIndex.h"
#include <numpy/arrayobject.h>

Go to the source code of this file.

Namespaces

namespace  Mantid
 Helper class which provides the Collimation Length for SANS instruments.
 
namespace  Mantid::PythonInterface
 
namespace  Mantid::PythonInterface::Converters
 
namespace  Mantid::PythonInterface::Converters::Impl
 

Macros

#define INSTANTIATE_MATRIX_WRAP(ElementType)
 
#define NO_IMPORT_ARRAY
 
#define PY_ARRAY_UNIQUE_SYMBOL   CORE_ARRAY_API
 

Functions

 Mantid::PythonInterface::Converters::Impl::INSTANTIATE_MATRIX_WRAP (double)
 
 Mantid::PythonInterface::Converters::Impl::INSTANTIATE_MATRIX_WRAP (float)
 
 Mantid::PythonInterface::Converters::Impl::INSTANTIATE_MATRIX_WRAP (int)
 
template<typename ContainerType >
PyObject * Mantid::PythonInterface::Converters::Impl::wrapWithNDArray (const ContainerType &cdata, const NumpyWrapMode mode)
 Defines the wrapWithNDArray specialization for Matrix container types. More...
 

Macro Definition Documentation

◆ INSTANTIATE_MATRIX_WRAP

#define INSTANTIATE_MATRIX_WRAP (   ElementType)
Value:
template DLLExport PyObject *wrapWithNDArray<Kernel::Matrix<ElementType>>(const Kernel::Matrix<ElementType> &, \
const NumpyWrapMode);
#define DLLExport
Definitions of the DLLImport compiler directives for MSVC.
Definition: System.h:53

Definition at line 44 of file MatrixToNDArray.cpp.

◆ NO_IMPORT_ARRAY

#define NO_IMPORT_ARRAY

Definition at line 14 of file MatrixToNDArray.cpp.

◆ PY_ARRAY_UNIQUE_SYMBOL

#define PY_ARRAY_UNIQUE_SYMBOL   CORE_ARRAY_API

Definition at line 13 of file MatrixToNDArray.cpp.