numpy
2.0.0
|
#include <Python.h>
#include "structmember.h"
#include "numpy/arrayobject.h"
#include "numpy/arrayscalars.h"
#include "npy_config.h"
#include "npy_pycompat.h"
#include "common.h"
#include "arraytypes.h"
#include "conversion_utils.h"
#define _MULTIARRAYMODULE |
#define NPY_NO_DEPRECATED_API NPY_API_VERSION |
#define PY_SSIZE_T_CLEAN |
NPY_NO_EXPORT int PyArray_AxisConverter | ( | PyObject * | obj, |
int * | axis | ||
) |
References NPY_FAIL, and NPY_SUCCEED.
Referenced by PyArray_Dump().
NPY_NO_EXPORT int PyArray_BoolConverter | ( | PyObject * | object, |
npy_bool * | val | ||
) |
NPY_NO_EXPORT int PyArray_BufferConverter | ( | PyObject * | obj, |
PyArray_Chunk * | buf | ||
) |
NPY_NO_EXPORT int PyArray_ByteorderConverter | ( | PyObject * | obj, |
char * | endian | ||
) |
NPY_NO_EXPORT int PyArray_CastingConverter | ( | PyObject * | obj, |
NPY_CASTING * | casting | ||
) |
Referenced by _prepend_ones(), and PyArray_ConvertClipmodeSequence().
NPY_NO_EXPORT int PyArray_ClipmodeConverter | ( | PyObject * | object, |
NPY_CLIPMODE * | val | ||
) |
NPY_NO_EXPORT int PyArray_ConvertClipmodeSequence | ( | PyObject * | object, |
NPY_CLIPMODE * | modes, | ||
int | n | ||
) |
References PyArray_CastingConverter().
NPY_NO_EXPORT int PyArray_Converter | ( | PyObject * | object, |
PyObject ** | address | ||
) |
References NPY_FAIL.
Referenced by _prepend_ones().
NPY_NO_EXPORT int PyArray_ConvertMultiAxis | ( | PyObject * | axis_in, |
int | ndim, | ||
npy_bool * | out_axis_flags | ||
) |
References NPY_FAIL.
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_OrderConverter | ( | PyObject * | object, |
NPY_ORDER * | val | ||
) |
Referenced by array_stddev(), and PyArray_SearchsideConverter().
NPY_NO_EXPORT int PyArray_OutputConverter | ( | PyObject * | object, |
PyArrayObject ** | address | ||
) |
Referenced by array_compress(), and PyArray_Dump().
NPY_NO_EXPORT int PyArray_PyIntAsInt | ( | PyObject * | o | ) |
NPY_NO_EXPORT npy_intp PyArray_PyIntAsIntp | ( | PyObject * | o | ) |
Referenced by fancy_indexing_check(), npyiter_seq_ass_item(), npyiter_seq_slice(), and PyArray_FromArray().
NPY_NO_EXPORT int PyArray_SearchsideConverter | ( | PyObject * | obj, |
void * | addr | ||
) |
References NPY_ANYORDER, NPY_CORDER, NPY_FAIL, NPY_FORTRANORDER, NPY_SUCCEED, PyArray_OrderConverter(), PyBytes_AS_STRING, PyBytes_Check, and PyBytes_GET_SIZE.
NPY_NO_EXPORT int PyArray_SortkindConverter | ( | PyObject * | obj, |
NPY_SORTKIND * | sortkind | ||
) |
NPY_NO_EXPORT int PyArray_TypestrConvert | ( | int | itemsize, |
int | gentype | ||
) |