numpy 2.0.0
|
#include <Python.h>
#include <stdio.h>
#include "numpy/npy_common.h"
#include "numpy/ndarrayobject.h"
Go to the source code of this file.
Defines | |
#define | PyBytes_Type PyString_Type |
#define | PyBytes_Check PyString_Check |
#define | PyBytesObject PyStringObject |
#define | PyBytes_FromString PyString_FromString |
#define | PyBytes_FromStringAndSize PyString_FromStringAndSize |
#define | PyBytes_AS_STRING PyString_AS_STRING |
#define | PyBytes_AsStringAndSize PyString_AsStringAndSize |
#define | PyBytes_FromFormat PyString_FromFormat |
#define | PyBytes_Concat PyString_Concat |
#define | PyBytes_ConcatAndDel PyString_ConcatAndDel |
#define | PyBytes_AsString PyString_AsString |
#define | PyBytes_GET_SIZE PyString_GET_SIZE |
#define | PyBytes_Size PyString_Size |
#define | PyUString_Type PyString_Type |
#define | PyUString_Check PyString_Check |
#define | PyUStringObject PyStringObject |
#define | PyUString_FromString PyString_FromString |
#define | PyUString_FromStringAndSize PyString_FromStringAndSize |
#define | PyUString_FromFormat PyString_FromFormat |
#define | PyUString_Concat PyString_Concat |
#define | PyUString_ConcatAndDel PyString_ConcatAndDel |
#define | PyUString_GET_SIZE PyString_GET_SIZE |
#define | PyUString_Size PyString_Size |
#define | PyUString_InternFromString PyString_InternFromString |
#define | PyUString_Format PyString_Format |
#define | Py_TYPE(o) (((PyObject*)(o))->ob_type) |
#define | Py_REFCNT(o) (((PyObject*)(o))->ob_refcnt) |
#define | Py_SIZE(o) (((PyVarObject*)(o))->ob_size) |
#define | npy_PyFile_Dup(file, mode) PyFile_AsFile(file) |
#define | npy_PyFile_DupClose(file, handle) (0) |
#define | npy_PyFile_Check PyFile_Check |
Functions | |
static NPY_INLINE void | PyUnicode_ConcatAndDel (PyObject **left, PyObject *right) |
static NPY_INLINE void | PyUnicode_Concat2 (PyObject **left, PyObject *right) |
static NPY_INLINE PyObject * | npy_PyFile_OpenFile (PyObject *filename, char *mode) |
static NPY_INLINE PyObject * | NpyCapsule_FromVoidPtr (void *ptr, void(*dtor)(void *)) |
static NPY_INLINE PyObject * | NpyCapsule_FromVoidPtrAndDesc (void *ptr, void *context, void(*dtor)(void *, void *)) |
static NPY_INLINE void * | NpyCapsule_AsVoidPtr (PyObject *ptr) |
static NPY_INLINE void * | NpyCapsule_GetDesc (PyObject *obj) |
static NPY_INLINE int | NpyCapsule_Check (PyObject *ptr) |
static void | simple_capsule_dtor (void *ptr) |
#define npy_PyFile_Check PyFile_Check |
#define npy_PyFile_Dup | ( | file, | |
mode | |||
) | PyFile_AsFile(file) |
#define npy_PyFile_DupClose | ( | file, | |
handle | |||
) | (0) |
#define Py_REFCNT | ( | o | ) | (((PyObject*)(o))->ob_refcnt) |
#define Py_SIZE | ( | o | ) | (((PyVarObject*)(o))->ob_size) |
#define Py_TYPE | ( | o | ) | (((PyObject*)(o))->ob_type) |
Referenced by array_astype(), array_divide(), array_float(), array_int(), array_real_get(), array_subscript(), array_swapaxes(), array_wraparray(), new_array_for_sum(), PyArray_CastToType(), PyArray_Concatenate(), PyArray_MapIterNext(), and PyArray_TakeFrom().
#define PyBytes_AS_STRING PyString_AS_STRING |
#define PyBytes_AsString PyString_AsString |
#define PyBytes_AsStringAndSize PyString_AsStringAndSize |
#define PyBytes_Check PyString_Check |
Referenced by _convert_from_datetime_tuple().
#define PyBytes_Concat PyString_Concat |
#define PyBytes_ConcatAndDel PyString_ConcatAndDel |
#define PyBytes_FromFormat PyString_FromFormat |
#define PyBytes_FromString PyString_FromString |
#define PyBytes_FromStringAndSize PyString_FromStringAndSize |
#define PyBytes_GET_SIZE PyString_GET_SIZE |
#define PyBytes_Size PyString_Size |
#define PyBytes_Type PyString_Type |
<
#define PyBytesObject PyStringObject |
#define PyUString_Check PyString_Check |
#define PyUString_Concat PyString_Concat |
#define PyUString_ConcatAndDel PyString_ConcatAndDel |
#define PyUString_Format PyString_Format |
#define PyUString_FromFormat PyString_FromFormat |
Referenced by NpyIter_GetInnerStrideArray().
#define PyUString_FromString PyString_FromString |
#define PyUString_FromStringAndSize PyString_FromStringAndSize |
Referenced by dump_data().
#define PyUString_GET_SIZE PyString_GET_SIZE |
#define PyUString_InternFromString PyString_InternFromString |
Referenced by _extract_pyvals().
#define PyUString_Size PyString_Size |
#define PyUString_Type PyString_Type |
#define PyUStringObject PyStringObject |
static NPY_INLINE PyObject* npy_PyFile_OpenFile | ( | PyObject * | filename, |
char * | mode | ||
) | [static] |
static NPY_INLINE void* NpyCapsule_AsVoidPtr | ( | PyObject * | ptr | ) | [static] |
Referenced by PyArray_ClipmodeConverter(), and ufunc_loop_matches().
static NPY_INLINE int NpyCapsule_Check | ( | PyObject * | ptr | ) | [static] |
static NPY_INLINE PyObject* NpyCapsule_FromVoidPtr | ( | void * | ptr, |
void(*)(void *) | dtor | ||
) | [static] |
static NPY_INLINE PyObject* NpyCapsule_FromVoidPtrAndDesc | ( | void * | ptr, |
void * | context, | ||
void(*)(void *, void *) | dtor | ||
) | [static] |
static NPY_INLINE void* NpyCapsule_GetDesc | ( | PyObject * | obj | ) | [static] |
static NPY_INLINE void PyUnicode_Concat2 | ( | PyObject ** | left, |
PyObject * | right | ||
) | [static] |
static NPY_INLINE void PyUnicode_ConcatAndDel | ( | PyObject ** | left, |
PyObject * | right | ||
) | [static] |
static void simple_capsule_dtor | ( | void * | ptr | ) | [static] |