numpy
2.0.0
|
#include <Python.h>
#include "structmember.h"
#include "numpy/arrayobject.h"
#include "npy_config.h"
#include "npy_pycompat.h"
#include "common.h"
#include "number.h"
#include "calculation.h"
#define _MULTIARRAYMODULE |
#define NPY_NO_DEPRECATED_API NPY_API_VERSION |
#define PY_SSIZE_T_CLEAN |
NPY_NO_EXPORT PyObject* __New_PyArray_Std | ( | PyArrayObject * | self, |
int | axis, | ||
int | rtype, | ||
PyArrayObject * | out, | ||
int | variance, | ||
int | num | ||
) |
static PyObject* _GenericBinaryOutFunction | ( | PyArrayObject * | m1, |
PyObject * | m2, | ||
PyArrayObject * | out, | ||
PyObject * | op | ||
) | [static] |
Referenced by PyArray_All().
static PyObject* _slow_array_clip | ( | PyArrayObject * | self, |
PyObject * | min, | ||
PyObject * | max, | ||
PyArrayObject * | out | ||
) | [static] |
Referenced by PyArray_Clip().
static double power_of_ten | ( | int | n | ) | [static] |
NPY_NO_EXPORT PyObject* PyArray_All | ( | PyArrayObject * | self, |
int | axis, | ||
PyArrayObject * | out | ||
) |
NPY_NO_EXPORT PyObject* PyArray_Any | ( | PyArrayObject * | self, |
int | axis, | ||
PyArrayObject * | out | ||
) |
NPY_NO_EXPORT PyObject* PyArray_ArgMax | ( | PyArrayObject * | op, |
int | axis, | ||
PyArrayObject * | out | ||
) |
References PyArray_Dims::len, NPY_ARRAY_CARRAY, NPY_ARRAY_UPDATEIFCOPY, NPY_BEGIN_THREADS_DEF, NPY_BEGIN_THREADS_DESCR, NPY_END_THREADS_DESCR, NPY_INTP, NPY_MAXDIMS, PyArray_Dims::ptr, Py_TYPE, PyArray_CheckAxis(), PyArray_ContiguousFromAny, PyArray_DATA, PyArray_DESCR, PyArray_DescrFromType(), PyArray_DIMS, PyArray_FromArray(), PyArray_MultiplyList(), PyArray_NDIM, PyArray_New(), PyArray_SIZE, and PyArray_Transpose().
NPY_NO_EXPORT PyObject* PyArray_ArgMin | ( | PyArrayObject * | op, |
int | axis, | ||
PyArrayObject * | out | ||
) |
NPY_NO_EXPORT PyObject* PyArray_Clip | ( | PyArrayObject * | self, |
PyObject * | min, | ||
PyObject * | max, | ||
PyArrayObject * | out | ||
) |
References _slow_array_clip(), _PyArray_Descr::f, PyArray_ArrFuncs::fastclip, PyArray_DESCR, and PyArray_PromoteTypes().
NPY_NO_EXPORT PyObject* PyArray_Conjugate | ( | PyArrayObject * | self, |
PyArrayObject * | out | ||
) |
NPY_NO_EXPORT PyObject* PyArray_CumProd | ( | PyArrayObject * | self, |
int | axis, | ||
int | rtype, | ||
PyArrayObject * | out | ||
) |
NPY_NO_EXPORT PyObject* PyArray_CumSum | ( | PyArrayObject * | self, |
int | axis, | ||
int | rtype, | ||
PyArrayObject * | out | ||
) |
NPY_NO_EXPORT PyObject* PyArray_Max | ( | PyArrayObject * | ap, |
int | axis, | ||
PyArrayObject * | out | ||
) |
References NumericOps::minimum, n_ops, PyArray_CheckAxis(), PyArray_DESCR, and PyArray_GenericReduceFunction().
Referenced by PyArray_Min().
NPY_NO_EXPORT PyObject* PyArray_Mean | ( | PyArrayObject * | self, |
int | axis, | ||
int | rtype, | ||
PyArrayObject * | out | ||
) |
References NumericOps::logical_and, n_ops, NPY_BOOL, PyArray_CheckAxis(), and PyArray_GenericReduceFunction().
NPY_NO_EXPORT PyObject* PyArray_Min | ( | PyArrayObject * | ap, |
int | axis, | ||
PyArrayObject * | out | ||
) |
NPY_NO_EXPORT PyObject* PyArray_Prod | ( | PyArrayObject * | self, |
int | axis, | ||
int | rtype, | ||
PyArrayObject * | out | ||
) |
References NumericOps::multiply, n_ops, PyArray_CheckAxis(), and PyArray_GenericAccumulateFunction().
NPY_NO_EXPORT PyObject* PyArray_Ptp | ( | PyArrayObject * | ap, |
int | axis, | ||
PyArrayObject * | out | ||
) |
NPY_NO_EXPORT PyObject * PyArray_Round | ( | PyArrayObject * | a, |
int | decimals, | ||
PyArrayObject * | out | ||
) |
Referenced by array_compress().
NPY_NO_EXPORT PyObject* PyArray_Std | ( | PyArrayObject * | self, |
int | axis, | ||
int | rtype, | ||
PyArrayObject * | out, | ||
int | variance | ||
) |
NPY_NO_EXPORT PyObject* PyArray_Sum | ( | PyArrayObject * | self, |
int | axis, | ||
int | rtype, | ||
PyArrayObject * | out | ||
) |
References NumericOps::add, n_ops, PyArray_CheckAxis(), and PyArray_GenericAccumulateFunction().
NPY_NO_EXPORT PyObject* PyArray_Trace | ( | PyArrayObject * | self, |
int | offset, | ||
int | axis1, | ||
int | axis2, | ||
int | rtype, | ||
PyArrayObject * | out | ||
) |