diff options
author | Frederic <nouiz@nouiz.org> | 2013-12-17 15:08:01 -0500 |
---|---|---|
committer | Frederic <nouiz@nouiz.org> | 2013-12-17 15:08:01 -0500 |
commit | 65c57d79793f3cded1c9fc1f6fec78a99c8288af (patch) | |
tree | 10b59399937de648d85810b5b563da4669c1fae0 /doc/source/reference/c-api.array.rst | |
parent | ff325bb2a3e06355051bb044b6047907027105d5 (diff) | |
download | numpy-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.rst | 4 |
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*. |