~jtaylor/ubuntu/precise/python-numpy/multiarch-fix-818867

« back to all changes in this revision

Viewing changes to numpy/core/src/multiarray/calculation.h

  • Committer: Bazaar Package Importer
  • Author(s): Sandro Tosi
  • Date: 2010-10-07 10:19:13 UTC
  • mfrom: (7.1.5 sid)
  • Revision ID: james.westby@ubuntu.com-20101007101913-8b1kmt8ho4upcl9s
Tags: 1:1.4.1-5
* debian/patches/10_use_local_python.org_object.inv_sphinx.diff
  - fixed small typo in description
* debian/patches/changeset_r8364.diff
  - fix memory corruption (double free); thanks to Joseph Barillari for the
    report and to Michael Gilbert for pushing resolution; Closes: #581058

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef _NPY_CALCULATION_H_
 
2
#define _NPY_CALCULATION_H_
 
3
 
 
4
NPY_NO_EXPORT PyObject*
 
5
PyArray_ArgMax(PyArrayObject* self, int axis, PyArrayObject *out);
 
6
 
 
7
NPY_NO_EXPORT PyObject*
 
8
PyArray_ArgMin(PyArrayObject* self, int axis, PyArrayObject *out);
 
9
 
 
10
NPY_NO_EXPORT PyObject*
 
11
PyArray_Max(PyArrayObject* self, int axis, PyArrayObject* out);
 
12
 
 
13
NPY_NO_EXPORT PyObject*
 
14
PyArray_Min(PyArrayObject* self, int axis, PyArrayObject* out);
 
15
 
 
16
NPY_NO_EXPORT PyObject*
 
17
PyArray_Ptp(PyArrayObject* self, int axis, PyArrayObject* out);
 
18
 
 
19
NPY_NO_EXPORT PyObject*
 
20
PyArray_Mean(PyArrayObject* self, int axis, int rtype, PyArrayObject* out);
 
21
 
 
22
NPY_NO_EXPORT PyObject *
 
23
PyArray_Round(PyArrayObject *a, int decimals, PyArrayObject *out);
 
24
 
 
25
NPY_NO_EXPORT PyObject*
 
26
PyArray_Trace(PyArrayObject* self, int offset, int axis1, int axis2,
 
27
                int rtype, PyArrayObject* out);
 
28
 
 
29
NPY_NO_EXPORT PyObject*
 
30
PyArray_Clip(PyArrayObject* self, PyObject* min, PyObject* max, PyArrayObject *out);
 
31
 
 
32
NPY_NO_EXPORT PyObject*
 
33
PyArray_Conjugate(PyArrayObject* self, PyArrayObject* out);
 
34
 
 
35
NPY_NO_EXPORT PyObject*
 
36
PyArray_Round(PyArrayObject* self, int decimals, PyArrayObject* out);
 
37
 
 
38
NPY_NO_EXPORT PyObject*
 
39
PyArray_Std(PyArrayObject* self, int axis, int rtype, PyArrayObject* out,
 
40
                int variance);
 
41
 
 
42
NPY_NO_EXPORT PyObject *
 
43
__New_PyArray_Std(PyArrayObject *self, int axis, int rtype, PyArrayObject *out,
 
44
                  int variance, int num);
 
45
 
 
46
NPY_NO_EXPORT PyObject*
 
47
PyArray_Sum(PyArrayObject* self, int axis, int rtype, PyArrayObject* out);
 
48
 
 
49
NPY_NO_EXPORT PyObject*
 
50
PyArray_CumSum(PyArrayObject* self, int axis, int rtype, PyArrayObject* out);
 
51
 
 
52
NPY_NO_EXPORT PyObject*
 
53
PyArray_Prod(PyArrayObject* self, int axis, int rtype, PyArrayObject* out);
 
54
 
 
55
NPY_NO_EXPORT PyObject*
 
56
PyArray_CumProd(PyArrayObject* self, int axis, int rtype, PyArrayObject* out);
 
57
 
 
58
NPY_NO_EXPORT PyObject*
 
59
PyArray_All(PyArrayObject* self, int axis, PyArrayObject* out);
 
60
 
 
61
NPY_NO_EXPORT PyObject*
 
62
PyArray_Any(PyArrayObject* self, int axis, PyArrayObject* out);
 
63
 
 
64
#endif