diff options
author | Gabor Kovacs <kgabor79@gmail.com> | 2014-08-23 17:50:10 +0100 |
---|---|---|
committer | Charles Harris <charlesr.harris@gmail.com> | 2015-06-21 15:44:25 -0600 |
commit | 4e5545f0bcc654fb0c6752dcf72120e6e7340d28 (patch) | |
tree | 83775e28968635ac9588c021280469599b0a520b /doc/source | |
parent | e3b2bc0b0f31482cd112660393245116ae55ecbf (diff) | |
download | numpy-4e5545f0bcc654fb0c6752dcf72120e6e7340d28.tar.gz |
DOC: Update docs.
Update docs for boolean array indexing and nonzero order.
Add links to row-major and column-major terms where they appear.
Closes #3177
Diffstat (limited to 'doc/source')
-rw-r--r-- | doc/source/reference/arrays.indexing.rst | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/doc/source/reference/arrays.indexing.rst b/doc/source/reference/arrays.indexing.rst index 2eb07c4e0..228e9a8d4 100644 --- a/doc/source/reference/arrays.indexing.rst +++ b/doc/source/reference/arrays.indexing.rst @@ -357,11 +357,10 @@ faster when ``obj.shape == x.shape``. If ``obj.ndim == x.ndim``, ``x[obj]`` returns a 1-dimensional array filled with the elements of *x* corresponding to the :const:`True` -values of *obj*. -The search order will be C-style (last index varies the fastest). If -*obj* has :const:`True` values at entries that are outside of the -bounds of *x*, then an index error will be raised. If *obj* is smaller -than *x* it is identical to filling it with :const:`False`. +values of *obj*. The search order will be :term:`row-major`, +C-style. If *obj* has :const:`True` values at entries that are outside +of the bounds of *x*, then an index error will be raised. If *obj* is +smaller than *x* it is identical to filling it with :const:`False`. .. admonition:: Example |