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_SUCCEED.
NPY_NO_EXPORT int PyArray_BoolConverter | ( | PyObject * | object, |
npy_bool * | val | ||
) |
NPY_NO_EXPORT int PyArray_BufferConverter | ( | PyObject * | obj, |
PyArray_Chunk * | buf | ||
) |
References NPY_FAIL.
NPY_NO_EXPORT int PyArray_ByteorderConverter | ( | PyObject * | obj, |
char * | endian | ||
) |
NPY_NO_EXPORT int PyArray_CastingConverter | ( | PyObject * | obj, |
NPY_CASTING * | casting | ||
) |
References PyArray_PyIntAsIntp_ErrMsg().
Referenced by _array_fromobject().
NPY_NO_EXPORT int PyArray_ClipmodeConverter | ( | PyObject * | object, |
NPY_CLIPMODE * | val | ||
) |
NPY_NO_EXPORT int PyArray_ConvertClipmodeSequence | ( | PyObject * | object, |
NPY_CLIPMODE * | modes, | ||
int | n | ||
) |
NPY_NO_EXPORT int PyArray_Converter | ( | PyObject * | object, |
PyObject ** | address | ||
) |
References NPY_FAIL.
Referenced by _array_fromobject().
NPY_NO_EXPORT int PyArray_ConvertMultiAxis | ( | PyObject * | axis_in, |
int | ndim, | ||
npy_bool * | out_axis_flags | ||
) |
NPY_NO_EXPORT int PyArray_IntpConverter | ( | PyObject * | obj, |
PyArray_Dims * | seq | ||
) |
NPY_NO_EXPORT npy_intp PyArray_IntpFromIndexSequence | ( | PyObject * | seq, |
npy_intp * | vals, | ||
npy_intp | maxvals | ||
) |
References NPY_BOOL, NPY_FLOAT16, NPY_FLOATINGLTR, NPY_GENBOOLLTR, NPY_SIGNEDLTR, and NPY_UNSIGNEDLTR.
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 | ||
) |
NPY_NO_EXPORT int PyArray_OutputConverter | ( | PyObject * | object, |
PyArrayObject ** | address | ||
) |
Referenced by array_cumprod(), and array_dot().
NPY_NO_EXPORT int PyArray_PyIntAsInt | ( | PyObject * | o | ) |
static int PyArray_PyIntAsInt_ErrMsg | ( | PyObject * | o, |
const char * | msg | ||
) | [static] |
NPY_NO_EXPORT npy_intp PyArray_PyIntAsIntp | ( | PyObject * | o | ) |
Referenced by array_setscalar(), coerce_index(), gentype_alloc(), gentype_dealloc(), and npyiter_seq_slice().
static npy_intp PyArray_PyIntAsIntp_ErrMsg | ( | PyObject * | o, |
const char * | msg | ||
) | [static] |
<
Referenced by PyArray_CastingConverter().
NPY_NO_EXPORT int PyArray_SearchsideConverter | ( | PyObject * | obj, |
void * | addr | ||
) |
NPY_NO_EXPORT int PyArray_SelectkindConverter | ( | PyObject * | obj, |
NPY_SELECTKIND * | selectkind | ||
) |
References NPY_FAIL, NPY_SEARCHLEFT, NPY_SEARCHRIGHT, NPY_SUCCEED, PyBytes_AsString, and side().
NPY_NO_EXPORT int PyArray_SortkindConverter | ( | PyObject * | obj, |
NPY_SORTKIND * | sortkind | ||
) |
NPY_NO_EXPORT int PyArray_TypestrConvert | ( | int | itemsize, |
int | gentype | ||
) |