numpy  2.0.0
src/multiarray/calculation.h
Go to the documentation of this file.
00001 #ifndef _NPY_CALCULATION_H_
00002 #define _NPY_CALCULATION_H_
00003 
00004 NPY_NO_EXPORT PyObject*
00005 PyArray_ArgMax(PyArrayObject* self, int axis, PyArrayObject *out);
00006 
00007 NPY_NO_EXPORT PyObject*
00008 PyArray_ArgMin(PyArrayObject* self, int axis, PyArrayObject *out);
00009 
00010 NPY_NO_EXPORT PyObject*
00011 PyArray_Max(PyArrayObject* self, int axis, PyArrayObject* out);
00012 
00013 NPY_NO_EXPORT PyObject*
00014 PyArray_Min(PyArrayObject* self, int axis, PyArrayObject* out);
00015 
00016 NPY_NO_EXPORT PyObject*
00017 PyArray_Ptp(PyArrayObject* self, int axis, PyArrayObject* out);
00018 
00019 NPY_NO_EXPORT PyObject*
00020 PyArray_Mean(PyArrayObject* self, int axis, int rtype, PyArrayObject* out);
00021 
00022 NPY_NO_EXPORT PyObject *
00023 PyArray_Round(PyArrayObject *a, int decimals, PyArrayObject *out);
00024 
00025 NPY_NO_EXPORT PyObject*
00026 PyArray_Trace(PyArrayObject* self, int offset, int axis1, int axis2,
00027                 int rtype, PyArrayObject* out);
00028 
00029 NPY_NO_EXPORT PyObject*
00030 PyArray_Clip(PyArrayObject* self, PyObject* min, PyObject* max, PyArrayObject *out);
00031 
00032 NPY_NO_EXPORT PyObject*
00033 PyArray_Conjugate(PyArrayObject* self, PyArrayObject* out);
00034 
00035 NPY_NO_EXPORT PyObject*
00036 PyArray_Round(PyArrayObject* self, int decimals, PyArrayObject* out);
00037 
00038 NPY_NO_EXPORT PyObject*
00039 PyArray_Std(PyArrayObject* self, int axis, int rtype, PyArrayObject* out,
00040                 int variance);
00041 
00042 NPY_NO_EXPORT PyObject *
00043 __New_PyArray_Std(PyArrayObject *self, int axis, int rtype, PyArrayObject *out,
00044                   int variance, int num);
00045 
00046 NPY_NO_EXPORT PyObject*
00047 PyArray_Sum(PyArrayObject* self, int axis, int rtype, PyArrayObject* out);
00048 
00049 NPY_NO_EXPORT PyObject*
00050 PyArray_CumSum(PyArrayObject* self, int axis, int rtype, PyArrayObject* out);
00051 
00052 NPY_NO_EXPORT PyObject*
00053 PyArray_Prod(PyArrayObject* self, int axis, int rtype, PyArrayObject* out);
00054 
00055 NPY_NO_EXPORT PyObject*
00056 PyArray_CumProd(PyArrayObject* self, int axis, int rtype, PyArrayObject* out);
00057 
00058 NPY_NO_EXPORT PyObject*
00059 PyArray_All(PyArrayObject* self, int axis, PyArrayObject* out);
00060 
00061 NPY_NO_EXPORT PyObject*
00062 PyArray_Any(PyArrayObject* self, int axis, PyArrayObject* out);
00063 
00064 #endif