numpy
2.0.0
|
#include <Python.h>
#include "numpy/arrayobject.h"
#include "npy_config.h"
#include "npy_pycompat.h"
#include "usertypes.h"
#include "common.h"
#include "buffer.h"
#define _MULTIARRAYMODULE |
#define NPY_NO_DEPRECATED_API NPY_API_VERSION |
#define PY_SSIZE_T_CLEAN |
#define RETRY_WITH_STRING 1 |
#define RETRY_WITH_UNICODE 2 |
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().
static PyArray_Descr* _use_default_type | ( | PyObject * | op | ) | [static] |
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_type | ||
) |
References promote_types(), and PyArray_DESCR.
Referenced by PyArray_DTypeFromObject().
NPY_NO_EXPORT NPY_CASTING NPY_DEFAULT_ASSIGN_CASTING = NPY_INTERNAL_UNSAFE_CASTING_BUT_WARN_UNLESS_SAME_KIND |