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 --- numpy/matlib.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'numpy/matlib.py') diff --git a/numpy/matlib.py b/numpy/matlib.py index 677400367..656ca3458 100644 --- a/numpy/matlib.py +++ b/numpy/matlib.py @@ -11,8 +11,7 @@ __all__ = np.__all__[:] # copy numpy namespace __all__ += ['rand', 'randn', 'repmat'] def empty(shape, dtype=None, order='C'): - """ - Return a new matrix of given shape and type, without initializing entries. + """Return a new matrix of given shape and type, without initializing entries. Parameters ---------- @@ -21,8 +20,9 @@ def empty(shape, dtype=None, order='C'): dtype : data-type, optional Desired output data-type. order : {'C', 'F'}, optional - Whether to store multi-dimensional data in C (row-major) or - Fortran (column-major) order in memory. + Whether to store multi-dimensional data in row-major + (C-style) or column-major (Fortran-style) order in + memory. See Also -------- -- cgit v1.2.1