10#include <boost/python/object.hpp>
13namespace PythonInterface {
33 static bool check(
const boost::python::object &
obj);
38 Py_intptr_t
const *get_shape()
const;
40 void *get_data()
const;
41 char get_typecode()
const;
57 static bool check(PyObject *
obj);
58 static python::detail::new_reference adopt(PyObject *
obj);
59 static PyTypeObject
const *get_pytype();
std::string dtype(Mantid::Kernel::PropertyWithValue< HeldType > &self)
double obj
the value of the quadratic function
Thin object wrapper around a numpy array.
BOOST_PYTHON_FORWARD_OBJECT_CONSTRUCTORS(NDArray, boost::python::object)
#define MANTID_PYTHONINTERFACE_CORE_DLL
MANTID_PYTHONINTERFACE_CORE_DLL void importNumpy()
Initialize the numpy array api for this DLL.
MANTID_PYTHONINTERFACE_CORE_DLL PyTypeObject * ndarrayType()
Return the type object for a numpy.NDArray.
Helper class which provides the Collimation Length for SANS instruments.
BOOST_STATIC_CONSTANT(bool, is_specialized=true)