numpy
2.0.0
|
#include "ucsnarrow.h"
Go to the source code of this file.
Defines | |
#define | error_converting(x) (((x) == -1) && PyErr_Occurred()) |
Functions | |
NPY_NO_EXPORT int | PyArray_DTypeFromObject (PyObject *obj, int maxdims, PyArray_Descr **out_dtype) |
NPY_NO_EXPORT int | PyArray_DTypeFromObjectHelper (PyObject *obj, int maxdims, PyArray_Descr **out_dtype, int string_status) |
NPY_NO_EXPORT PyArray_Descr * | _array_find_python_scalar_type (PyObject *op) |
NPY_NO_EXPORT PyArray_Descr * | _array_typedescr_fromstr (char *str) |
NPY_NO_EXPORT int | check_and_adjust_index (npy_intp *index, npy_intp max_item, int axis) |
NPY_NO_EXPORT char * | index2ptr (PyArrayObject *mp, npy_intp i) |
NPY_NO_EXPORT int | _zerofill (PyArrayObject *ret) |
NPY_NO_EXPORT int | _IsAligned (PyArrayObject *ap) |
NPY_NO_EXPORT npy_bool | _IsWriteable (PyArrayObject *ap) |
#define error_converting | ( | x | ) | (((x) == -1) && PyErr_Occurred()) |
Referenced by PyArray_FromArray().
NPY_NO_EXPORT PyArray_Descr* _array_find_python_scalar_type | ( | PyObject * | op | ) |
References NPY_DOUBLE, and PyArray_DescrFromType().
Referenced by _array_from_buffer_3118().
NPY_NO_EXPORT PyArray_Descr* _array_typedescr_fromstr | ( | char * | c_str | ) |
NPY_NO_EXPORT int _IsAligned | ( | PyArrayObject * | ap | ) |
Referenced by array_trace(), and PyArray_UpdateFlags().
Referenced by PyArray_UpdateFlags().
NPY_NO_EXPORT int _zerofill | ( | PyArrayObject * | ret | ) |
References NPY_TRUE.
NPY_NO_EXPORT int check_and_adjust_index | ( | npy_intp * | index, |
npy_intp | max_item, | ||
int | axis | ||
) |
References PyArray_DATA, PyArray_DESCR, PyArray_NDIM, and PyArray_STRIDES.
Referenced by parse_index_entry(), and PyArray_TakeFrom().
NPY_NO_EXPORT char* index2ptr | ( | PyArrayObject * | mp, |
npy_intp | i | ||
) |
References PyArray_BASE, PyArray_CHKFLAGS, and PyArray_ISWRITEABLE.
Referenced by array_fromfile_binary().
NPY_NO_EXPORT int PyArray_DTypeFromObject | ( | PyObject * | obj, |
int | maxdims, | ||
PyArray_Descr ** | out_dtype | ||
) |
References NPY_UNICODE, and PyArray_DTypeFromObjectHelper().
Referenced by _array_from_buffer_3118().
NPY_NO_EXPORT int PyArray_DTypeFromObjectHelper | ( | PyObject * | obj, |
int | maxdims, | ||
PyArray_Descr ** | out_dtype, | ||
int | string_status | ||
) |
References promote_types(), and PyArray_DESCR.
Referenced by PyArray_DTypeFromObject().