From 4e5545f0bcc654fb0c6752dcf72120e6e7340d28 Mon Sep 17 00:00:00 2001 From: Gabor Kovacs Date: Sat, 23 Aug 2014 17:50:10 +0100 Subject: 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 --- doc/source/reference/arrays.indexing.rst | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'doc/source/reference') 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 -- cgit v1.2.1