#include "eigenpy/config.hpp"
#include <numpy/numpyconfig.h>
#include <numpy/ndarrayobject.h>
#include <numpy/ufuncobject.h>
#include <complex>
Go to the source code of this file.
|
static void | _Py_SET_TYPE (PyObject *o, PyTypeObject *type) |
|
bool | eigenpy::call_PyArray_Check (PyObject *py_obj) |
|
PyArray_Descr * | eigenpy::call_PyArray_DescrFromType (int typenum) |
|
void | eigenpy::call_PyArray_InitArrFuncs (PyArray_ArrFuncs *funcs) |
|
PyArray_Descr * | eigenpy::call_PyArray_MinScalarType (PyArrayObject *arr) |
|
PyObject * | eigenpy::call_PyArray_New (PyTypeObject *py_type_ptr, int nd, npy_intp *shape, int np_type, npy_intp *strides, void *data_ptr, int options) |
|
PyObject * | eigenpy::call_PyArray_New (PyTypeObject *py_type_ptr, int nd, npy_intp *shape, int np_type, void *data_ptr, int options) |
|
int | eigenpy::call_PyArray_ObjectType (PyObject *obj, int val) |
|
int | eigenpy::call_PyArray_RegisterCanCast (PyArray_Descr *descr, int totype, NPY_SCALARKIND scalar) |
|
int | eigenpy::call_PyArray_RegisterCastFunc (PyArray_Descr *descr, int totype, PyArray_VectorUnaryFunc *castfunc) |
|
int | eigenpy::call_PyArray_RegisterDataType (PyArray_DescrProto *dtype) |
|
PyObject * | eigenpy::call_PyArray_SimpleNew (int nd, npy_intp *shape, int np_type) |
|
PyTypeObject * | eigenpy::getPyArrayType () |
|
void EIGENPY_DLLAPI | eigenpy::import_numpy () |
|
template<typename Scalar > |
bool | eigenpy::isNumpyNativeType () |
|
int EIGENPY_DLLAPI | eigenpy::PyArray_TypeNum (PyTypeObject *type) |
|
static PyArray_ArrFuncs * | PyDataType_GetArrFuncs (PyArray_Descr *descr) |
|
◆ EIGENPY_GET_PY_ARRAY_TYPE
#define EIGENPY_GET_PY_ARRAY_TYPE |
( |
|
array | ) |
PyArray_MinScalarType(array)->type_num |
◆ NPY_API_SYMBOL_ATTRIBUTE
#define NPY_API_SYMBOL_ATTRIBUTE EIGENPY_DLLAPI |
◆ PY_ARRAY_UNIQUE_SYMBOL
#define PY_ARRAY_UNIQUE_SYMBOL EIGENPY_ARRAY_API |
◆ Py_SET_TYPE
#define Py_SET_TYPE |
( |
|
o, |
|
|
|
type |
|
) |
| _Py_SET_TYPE((PyObject*)(o), type) |
◆ PyArray_DescrProto
#define PyArray_DescrProto PyArray_Descr |
◆ _Py_SET_TYPE()
static void _Py_SET_TYPE |
( |
PyObject * |
o, |
|
|
PyTypeObject * |
type |
|
) |
| |
|
inlinestatic |
◆ PyDataType_GetArrFuncs()
static PyArray_ArrFuncs* PyDataType_GetArrFuncs |
( |
PyArray_Descr * |
descr | ) |
|
|
inlinestatic |