#include <numpy.h>
Classes | |
struct | PyArray_Dims |
Public Types | |
enum | constants { NPY_ARRAY_C_CONTIGUOUS_ = 0x0001, NPY_ARRAY_F_CONTIGUOUS_ = 0x0002, NPY_ARRAY_OWNDATA_ = 0x0004, NPY_ARRAY_FORCECAST_ = 0x0010, NPY_ARRAY_ENSUREARRAY_ = 0x0040, NPY_ARRAY_ALIGNED_ = 0x0100, NPY_ARRAY_WRITEABLE_ = 0x0400, NPY_BOOL_ = 0, NPY_BYTE_, NPY_UBYTE_, NPY_SHORT_, NPY_USHORT_, NPY_INT_, NPY_UINT_, NPY_LONG_, NPY_ULONG_, NPY_LONGLONG_, NPY_ULONGLONG_, NPY_FLOAT_, NPY_DOUBLE_, NPY_LONGDOUBLE_, NPY_CFLOAT_, NPY_CDOUBLE_, NPY_CLONGDOUBLE_, NPY_OBJECT_ = 17, NPY_STRING_, NPY_UNICODE_, NPY_VOID_, NPY_INT8_ = NPY_BYTE_, NPY_UINT8_ = NPY_UBYTE_, NPY_INT16_ = NPY_SHORT_, NPY_UINT16_ = NPY_USHORT_, NPY_INT32_, NPY_UINT32_, NPY_INT64_, NPY_UINT64_ } |
Public Member Functions | |
bool | PyArray_Check_ (PyObject *obj) const |
bool | PyArrayDescr_Check_ (PyObject *obj) const |
Static Public Member Functions | |
static npy_api & | get () |
Public Attributes | |
int(* | PyArray_CopyInto_ )(PyObject *, PyObject *) |
int(* | PyArray_DescrConverter_ )(PyObject *, PyObject **) |
PyObject *(* | PyArray_DescrFromScalar_ )(PyObject *) |
PyObject *(* | PyArray_DescrFromType_ )(int) |
PyObject *(* | PyArray_DescrNewFromType_ )(int) |
bool(* | PyArray_EquivTypes_ )(PyObject *, PyObject *) |
PyObject *(* | PyArray_FromAny_ )(PyObject *, PyObject *, int, int, int, PyObject *) |
int(* | PyArray_GetArrayParamsFromObject_ )(PyObject *, PyObject *, unsigned char, PyObject **, int *, Py_intptr_t *, PyObject **, PyObject *) |
unsigned int(* | PyArray_GetNDArrayCFeatureVersion_ )() |
PyObject *(* | PyArray_NewCopy_ )(PyObject *, int) |
PyObject *(* | PyArray_NewFromDescr_ )(PyTypeObject *, PyObject *, int, Py_intptr_t const *, Py_intptr_t const *, void *, int, PyObject *) |
PyObject *(* | PyArray_Resize_ )(PyObject *, PyArray_Dims *, int, int) |
int(* | PyArray_SetBaseObject_ )(PyObject *, PyObject *) |
PyObject *(* | PyArray_Squeeze_ )(PyObject *) |
PyTypeObject * | PyArray_Type_ |
PyTypeObject * | PyArrayDescr_Type_ |
PyTypeObject * | PyVoidArrType_Type_ |
Private Types | |
enum | functions { API_PyArray_GetNDArrayCFeatureVersion = 211, API_PyArray_Type = 2, API_PyArrayDescr_Type = 3, API_PyVoidArrType_Type = 39, API_PyArray_DescrFromType = 45, API_PyArray_DescrFromScalar = 57, API_PyArray_FromAny = 69, API_PyArray_Resize = 80, API_PyArray_CopyInto = 82, API_PyArray_NewCopy = 85, API_PyArray_NewFromDescr = 94, API_PyArray_DescrNewFromType = 96, API_PyArray_DescrConverter = 174, API_PyArray_EquivTypes = 182, API_PyArray_GetArrayParamsFromObject = 278, API_PyArray_Squeeze = 136, API_PyArray_SetBaseObject = 282 } |
Static Private Member Functions | |
static npy_api | lookup () |
enum npy_api::constants |
|
private |
|
inline |
int(* npy_api::PyArray_DescrConverter_) (PyObject *, PyObject **) |
bool(* npy_api::PyArray_EquivTypes_) (PyObject *, PyObject *) |
unsigned int(* npy_api::PyArray_GetNDArrayCFeatureVersion_) () |
PyObject*(* npy_api::PyArray_Resize_) (PyObject *, PyArray_Dims *, int, int) |
int(* npy_api::PyArray_SetBaseObject_) (PyObject *, PyObject *) |