Expand description
Low-Level binding for Array API
Note that NumPy’s low-level allocation functions PyArray_{malloc,realloc,free}
are not part of this module.
The reason is that they would be re-exports of the PyMem_Raw{Malloc,Realloc,Free}
functions from PyO3,
but those are not unconditionally exported, i.e. they are not available when using the limited Python C-API.
Structs§
- PyArrayAPI
- See PY_ARRAY_API for more.
Enums§
- NpyTypes
- All type objects exported by the NumPy API.
Statics§
- PY_
ARRAY_ API - A global variable which stores a ‘capsule’ pointer to Numpy Array API.
Functions§
- PyArray_
Check ⚠ - Checks that
op
is an instance ofPyArray
or not. - PyArray_
Check ⚠Exact - Checks that
op
is an exact instance ofPyArray
or not.