summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/release/1.8.0-notes.rst6
-rw-r--r--doc/source/reference/ufuncs.rst7
2 files changed, 7 insertions, 6 deletions
diff --git a/doc/release/1.8.0-notes.rst b/doc/release/1.8.0-notes.rst
index c8d3b264b..1e7d00a74 100644
--- a/doc/release/1.8.0-notes.rst
+++ b/doc/release/1.8.0-notes.rst
@@ -188,9 +188,9 @@ computations.
In place fancy indexing for ufuncs
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The function ``at`` has been added to ufunc objects to allow in place
-ufuncs using fancy indexing with no buffering. For example, the following
-will increment the first and second items in the array, and will increment
-the third item twice:
+ufuncs with no buffering when fancy indexing is used. For example, the
+following will increment the first and second items in the array, and will
+increment the third item twice:
numpy.add.at(array, [0, 1, 2, 2], 1)
This is similar to doing array[[0, 1, 2, 2]] += 1
diff --git a/doc/source/reference/ufuncs.rst b/doc/source/reference/ufuncs.rst
index df301d0cf..acf9bf330 100644
--- a/doc/source/reference/ufuncs.rst
+++ b/doc/source/reference/ufuncs.rst
@@ -418,9 +418,10 @@ an integer (or Boolean) data-type and smaller than the size of the
(or :class:`uint`) data-type.
Ufuncs also have a fifth method that allows in place operations to be
-performed using fancy indexing. No buffering is used, so the fancy index
-can list an item more than once and the operation will be performed on the
-result of the previous operation for that item.
+performed using fancy indexing. No buffering is used on the dimensions where
+fancy indexing is used, so the fancy index can list an item more than once and
+the operation will be performed on the result of the previous operation for
+that item.
.. index::
pair: ufunc; methods