#include <numpy.h>
|
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_ = platform_lookup<std::int32_t, long, int, short>(NPY_LONG_, NPY_INT_, NPY_SHORT_),
NPY_UINT32_,
NPY_INT64_ = platform_lookup<std::int64_t, long, long long, int>(NPY_LONG_, NPY_LONGLONG_, NPY_INT_),
NPY_UINT64_
} |
|
|
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 *) |
|
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_Newshape_ )(PyObject *, PyArray_Dims *, int) |
|
PyObject *(* | PyArray_Resize_ )(PyObject *, PyArray_Dims *, int, int) |
|
unsigned int | PyArray_RUNTIME_VERSION_ |
|
int(* | PyArray_SetBaseObject_ )(PyObject *, PyObject *) |
|
PyObject *(* | PyArray_Squeeze_ )(PyObject *) |
|
PyTypeObject * | PyArray_Type_ |
|
PyObject *(* | PyArray_View_ )(PyObject *, PyObject *, PyObject *) |
|
PyTypeObject * | PyArrayDescr_Type_ |
|
PyTypeObject * | PyVoidArrType_Type_ |
|
|
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 = 50,
API_PyArray_NewCopy = 85,
API_PyArray_NewFromDescr = 94,
API_PyArray_DescrNewFromType = 96,
API_PyArray_Newshape = 135,
API_PyArray_Squeeze = 136,
API_PyArray_View = 137,
API_PyArray_DescrConverter = 174,
API_PyArray_EquivTypes = 182,
API_PyArray_SetBaseObject = 282
} |
|
Definition at line 214 of file numpy.h.
◆ constants
Enumerator |
---|
NPY_ARRAY_C_CONTIGUOUS_ | |
NPY_ARRAY_F_CONTIGUOUS_ | |
NPY_ARRAY_OWNDATA_ | |
NPY_ARRAY_FORCECAST_ | |
NPY_ARRAY_ENSUREARRAY_ | |
NPY_ARRAY_ALIGNED_ | |
NPY_ARRAY_WRITEABLE_ | |
NPY_BOOL_ | |
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_ | |
NPY_STRING_ | |
NPY_UNICODE_ | |
NPY_VOID_ | |
NPY_INT8_ | |
NPY_UINT8_ | |
NPY_INT16_ | |
NPY_UINT16_ | |
NPY_INT32_ | |
NPY_UINT32_ | |
NPY_INT64_ | |
NPY_UINT64_ | |
Definition at line 215 of file numpy.h.
◆ functions
Enumerator |
---|
API_PyArray_GetNDArrayCFeatureVersion | |
API_PyArray_Type | |
API_PyArrayDescr_Type | |
API_PyVoidArrType_Type | |
API_PyArray_DescrFromType | |
API_PyArray_DescrFromScalar | |
API_PyArray_FromAny | |
API_PyArray_Resize | |
API_PyArray_CopyInto | |
API_PyArray_NewCopy | |
API_PyArray_NewFromDescr | |
API_PyArray_DescrNewFromType | |
API_PyArray_Newshape | |
API_PyArray_Squeeze | |
API_PyArray_View | |
API_PyArray_DescrConverter | |
API_PyArray_EquivTypes | |
API_PyArray_SetBaseObject | |
Definition at line 321 of file numpy.h.
◆ get()
◆ lookup()
◆ PyArray_Check_()
bool npy_api::PyArray_Check_ |
( |
PyObject * |
obj | ) |
const |
|
inline |
◆ PyArrayDescr_Check_()
bool npy_api::PyArrayDescr_Check_ |
( |
PyObject * |
obj | ) |
const |
|
inline |
◆ PyArray_CopyInto_
int(* npy_api::PyArray_CopyInto_) (PyObject *, PyObject *) |
◆ PyArray_DescrConverter_
int(* npy_api::PyArray_DescrConverter_) (PyObject *, PyObject **) |
◆ PyArray_DescrFromScalar_
PyObject*(* npy_api::PyArray_DescrFromScalar_) (PyObject *) |
◆ PyArray_DescrFromType_
PyObject*(* npy_api::PyArray_DescrFromType_) (int) |
◆ PyArray_DescrNewFromType_
PyObject*(* npy_api::PyArray_DescrNewFromType_) (int) |
◆ PyArray_EquivTypes_
bool(* npy_api::PyArray_EquivTypes_) (PyObject *, PyObject *) |
◆ PyArray_FromAny_
PyObject*(* npy_api::PyArray_FromAny_) (PyObject *, PyObject *, int, int, int, PyObject *) |
◆ PyArray_GetNDArrayCFeatureVersion_
unsigned int(* npy_api::PyArray_GetNDArrayCFeatureVersion_) () |
◆ PyArray_NewCopy_
PyObject*(* npy_api::PyArray_NewCopy_) (PyObject *, int) |
◆ PyArray_NewFromDescr_
PyObject*(* npy_api::PyArray_NewFromDescr_) (PyTypeObject *, PyObject *, int, Py_intptr_t const *, Py_intptr_t const *, void *, int, PyObject *) |
◆ PyArray_Newshape_
◆ PyArray_Resize_
◆ PyArray_RUNTIME_VERSION_
unsigned int npy_api::PyArray_RUNTIME_VERSION_ |
◆ PyArray_SetBaseObject_
int(* npy_api::PyArray_SetBaseObject_) (PyObject *, PyObject *) |
◆ PyArray_Squeeze_
PyObject*(* npy_api::PyArray_Squeeze_) (PyObject *) |
◆ PyArray_Type_
PyTypeObject* npy_api::PyArray_Type_ |
◆ PyArray_View_
PyObject*(* npy_api::PyArray_View_) (PyObject *, PyObject *, PyObject *) |
◆ PyArrayDescr_Type_
PyTypeObject* npy_api::PyArrayDescr_Type_ |
◆ PyVoidArrType_Type_
PyTypeObject* npy_api::PyVoidArrType_Type_ |
The documentation for this struct was generated from the following file: