numpy 2.0.0
|
#include <Python.h>
#include "structmember.h"
#include "numpy/arrayobject.h"
#include "numpy/arrayscalars.h"
#include "npy_config.h"
#include "numpy/npy_3kcompat.h"
#include "arrayobject.h"
#include "mapping.h"
#include "lowlevel_strided_loops.h"
#include "convert.h"
Defines | |
#define | PY_SSIZE_T_CLEAN |
#define | _MULTIARRAYMODULE |
#define | NPY_NO_PREFIX |
Functions | |
static PyObject * | recursive_tolist (PyArrayObject *self, char *dataptr, int startdim) |
NPY_NO_EXPORT PyObject * | PyArray_ToList (PyArrayObject *self) |
NPY_NO_EXPORT int | PyArray_ToFile (PyArrayObject *self, FILE *fp, char *sep, char *format) |
NPY_NO_EXPORT PyObject * | PyArray_ToString (PyArrayObject *self, NPY_ORDER order) |
NPY_NO_EXPORT int | PyArray_FillWithScalar (PyArrayObject *arr, PyObject *obj) |
NPY_NO_EXPORT int | PyArray_FillWithZero (PyArrayObject *a) |
NPY_NO_EXPORT PyObject * | PyArray_NewCopy (PyArrayObject *m1, NPY_ORDER order) |
NPY_NO_EXPORT PyObject * | PyArray_View (PyArrayObject *self, PyArray_Descr *type, PyTypeObject *pytype) |
#define _MULTIARRAYMODULE |
#define NPY_NO_PREFIX |
#define PY_SSIZE_T_CLEAN |
NPY_NO_EXPORT int PyArray_FillWithScalar | ( | PyArrayObject * | arr, |
PyObject * | obj | ||
) |
NPY_NO_EXPORT int PyArray_FillWithZero | ( | PyArrayObject * | a | ) |
NPY_NO_EXPORT PyObject* PyArray_NewCopy | ( | PyArrayObject * | m1, |
NPY_ORDER | order | ||
) |
NPY_NO_EXPORT int PyArray_ToFile | ( | PyArrayObject * | self, |
FILE * | fp, | ||
char * | sep, | ||
char * | format | ||
) |
References PyArrayIterObject_tag::dataptr, PyArrayIterObject_tag::index, INTP_FMT, NPY_BEGIN_ALLOW_THREADS, NPY_BEGIN_THREADS, NPY_BEGIN_THREADS_DEF, NPY_END_ALLOW_THREADS, NPY_END_THREADS, NPY_LIST_PICKLE, PyArray_ISCONTIGUOUS, PyArray_ITER_NEXT, PyArray_IterNew(), PyArray_SIZE, PyDataType_FLAGCHK, and PyArrayIterObject_tag::size.
NPY_NO_EXPORT PyObject* PyArray_ToList | ( | PyArrayObject * | self | ) |
NPY_NO_EXPORT PyObject* PyArray_ToString | ( | PyArrayObject * | self, |
NPY_ORDER | order | ||
) |
Referenced by array_byteswap().
NPY_NO_EXPORT PyObject* PyArray_View | ( | PyArrayObject * | self, |
PyArray_Descr * | type, | ||
PyTypeObject * | pytype | ||
) |
Referenced by PyArray_FromInterface().
static PyObject* recursive_tolist | ( | PyArrayObject * | self, |
char * | dataptr, | ||
int | startdim | ||
) | [static] |
References PyArray_DESCR, PyArray_DIM, PyArray_NDIM, and PyArray_STRIDE.