Mantid
Loading...
Searching...
No Matches
Classes
Mantid::PythonInterface::Policies::MatrixRefToNumpy< ConversionPolicy > Struct Template Reference

Implements a return value policy that returns a numpy array from a Matrix. More...

#include <MatrixToNumpy.h>

Classes

struct  apply
 

Detailed Description

template<typename ConversionPolicy>
struct Mantid::PythonInterface::Policies::MatrixRefToNumpy< ConversionPolicy >

Implements a return value policy that returns a numpy array from a Matrix.

The type of conversion is specified by a policy: (1) WrapReadOnly - Creates a read-only array around the original data (no copy is performed) (2) WrapReadWrite - Creates a read-write array around the original data (no copy is performed)

Definition at line 65 of file MatrixToNumpy.h.


The documentation for this struct was generated from the following file: