7 #include <patchlevel.h> 17 return make((PyObject*)pyArray, copy);
22 m = bp::object(bp::handle<>(pyObj));
41 #if PY_MAJOR_VERSION >= 3 48 NumpyArrayType =
reinterpret_cast<PyTypeObject*
>(NumpyArrayObject.ptr());
ReturnMatrix copy(const Eigen::MatrixBase< Matrix > &mat)
static bool sharedMemory()
bp::object NumpyArrayObject
static bp::object make(PyArrayObject *pyArray, bool copy=false)
static const PyTypeObject * getNumpyArrayType()
PyTypeObject * NumpyArrayType
static NumpyType & getInstance()