|
numpy 2.0.0
|
#include <Python.h>#include "structmember.h"#include "numpy/arrayobject.h"#include "numpy/arrayscalars.h"#include "numpy/ndarrayobject.h"#include "npy_config.h"#include "numpy/npy_3kcompat.h"#include "common.h"#include "arraytypes.h"#include "conversion_utils.h"Defines | |
| #define | PY_SSIZE_T_CLEAN |
| #define | NPY_NO_DEPRECATED_API |
| #define | _MULTIARRAYMODULE |
| #define | NPY_NO_PREFIX |
Functions | |
| NPY_NO_EXPORT int | PyArray_Converter (PyObject *object, PyObject **address) |
| NPY_NO_EXPORT int | PyArray_OutputConverter (PyObject *object, PyArrayObject **address) |
| NPY_NO_EXPORT int | PyArray_IntpConverter (PyObject *obj, PyArray_Dims *seq) |
| NPY_NO_EXPORT int | PyArray_BufferConverter (PyObject *obj, PyArray_Chunk *buf) |
| NPY_NO_EXPORT int | PyArray_AxisConverter (PyObject *obj, int *axis) |
| NPY_NO_EXPORT int | PyArray_BoolConverter (PyObject *object, Bool *val) |
| NPY_NO_EXPORT int | PyArray_ByteorderConverter (PyObject *obj, char *endian) |
| NPY_NO_EXPORT int | PyArray_SortkindConverter (PyObject *obj, NPY_SORTKIND *sortkind) |
| NPY_NO_EXPORT int | PyArray_SearchsideConverter (PyObject *obj, void *addr) |
| NPY_NO_EXPORT int | PyArray_PyIntAsInt (PyObject *o) |
| NPY_NO_EXPORT npy_intp | PyArray_PyIntAsIntp (PyObject *o) |
| NPY_NO_EXPORT int | PyArray_IntpFromSequence (PyObject *seq, npy_intp *vals, int maxvals) |
| NPY_NO_EXPORT int | PyArray_TypestrConvert (int itemsize, int gentype) |
| NPY_NO_EXPORT PyObject * | PyArray_IntTupleFromIntp (int len, npy_intp *vals) |
| #define _MULTIARRAYMODULE |
| #define NPY_NO_DEPRECATED_API |
| #define NPY_NO_PREFIX |
| #define PY_SSIZE_T_CLEAN |
| NPY_NO_EXPORT int PyArray_AxisConverter | ( | PyObject * | obj, |
| int * | axis | ||
| ) |
| NPY_NO_EXPORT int PyArray_BoolConverter | ( | PyObject * | object, |
| Bool * | val | ||
| ) |
| NPY_NO_EXPORT int PyArray_BufferConverter | ( | PyObject * | obj, |
| PyArray_Chunk * | buf | ||
| ) |
| NPY_NO_EXPORT int PyArray_ByteorderConverter | ( | PyObject * | obj, |
| char * | endian | ||
| ) |
References PY_FAIL, PyArray_BIG, PyArray_IGNORE, PyArray_LITTLE, PyArray_NATIVE, and PyArray_SWAP.
| NPY_NO_EXPORT int PyArray_Converter | ( | PyObject * | object, |
| PyObject ** | address | ||
| ) |
| NPY_NO_EXPORT int PyArray_IntpConverter | ( | PyObject * | obj, |
| PyArray_Dims * | seq | ||
| ) |
Referenced by get_decsrcref_fields_transfer_function().
| NPY_NO_EXPORT int PyArray_IntpFromSequence | ( | PyObject * | seq, |
| npy_intp * | vals, | ||
| int | maxvals | ||
| ) |
| NPY_NO_EXPORT PyObject* PyArray_IntTupleFromIntp | ( | int | len, |
| npy_intp * | vals | ||
| ) |
| NPY_NO_EXPORT int PyArray_OutputConverter | ( | PyObject * | object, |
| PyArrayObject ** | address | ||
| ) |
Referenced by array_cumsum(), and array_stddev().
| NPY_NO_EXPORT int PyArray_PyIntAsInt | ( | PyObject * | o | ) |
| NPY_NO_EXPORT npy_intp PyArray_PyIntAsIntp | ( | PyObject * | o | ) |
References PyArray_CastToType(), PyArray_ISINTEGER, and PyArray_SIZE.
Referenced by parse_subindex().
| NPY_NO_EXPORT int PyArray_SearchsideConverter | ( | PyObject * | obj, |
| void * | addr | ||
| ) |
| NPY_NO_EXPORT int PyArray_SortkindConverter | ( | PyObject * | obj, |
| NPY_SORTKIND * | sortkind | ||
| ) |
| NPY_NO_EXPORT int PyArray_TypestrConvert | ( | int | itemsize, |
| int | gentype | ||
| ) |