summaryrefslogtreecommitdiff
path: root/doc/source/reference/c-api.array.rst
diff options
context:
space:
mode:
authorFrederic <nouiz@nouiz.org>2013-12-17 15:08:01 -0500
committerFrederic <nouiz@nouiz.org>2013-12-17 15:08:01 -0500
commit65c57d79793f3cded1c9fc1f6fec78a99c8288af (patch)
tree10b59399937de648d85810b5b563da4669c1fae0 /doc/source/reference/c-api.array.rst
parentff325bb2a3e06355051bb044b6047907027105d5 (diff)
downloadnumpy-65c57d79793f3cded1c9fc1f6fec78a99c8288af.tar.gz
Fix the doc of PyArray_ArgMax and PyArray_ArgMin
Diffstat (limited to 'doc/source/reference/c-api.array.rst')
-rw-r--r--doc/source/reference/c-api.array.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/source/reference/c-api.array.rst b/doc/source/reference/c-api.array.rst
index 34ef3318a..6e68a9a0e 100644
--- a/doc/source/reference/c-api.array.rst
+++ b/doc/source/reference/c-api.array.rst
@@ -1867,12 +1867,12 @@ Calculation
effect that is obtained by passing in *axis* = :const:`None` in Python
(treating the array as a 1-d array).
-.. cfunction:: PyObject* PyArray_ArgMax(PyArrayObject* self, int axis)
+.. cfunction:: PyObject* PyArray_ArgMax(PyArrayObject* self, int axis, PyArrayObject* out)
Equivalent to :meth:`ndarray.argmax` (*self*, *axis*). Return the index of
the largest element of *self* along *axis*.
-.. cfunction:: PyObject* PyArray_ArgMin(PyArrayObject* self, int axis)
+.. cfunction:: PyObject* PyArray_ArgMin(PyArrayObject* self, int axis, PyArrayObject* out)
Equivalent to :meth:`ndarray.argmin` (*self*, *axis*). Return the index of
the smallest element of *self* along *axis*.