diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2016-03-12 13:04:09 -0700 |
---|---|---|
committer | Charles Harris <charlesr.harris@gmail.com> | 2016-03-12 13:04:09 -0700 |
commit | 5b9162853bab2ef0cc8e71576f5f3c754d0a315c (patch) | |
tree | 2335d4aecde79c0dd807f2dad6c2afba3ddccd0d /doc | |
parent | f98b59e427f26c699de9412a528be685cbcde405 (diff) | |
parent | e7de401f5c9634a2a63eb8f44f2193be1a946191 (diff) | |
download | numpy-5b9162853bab2ef0cc8e71576f5f3c754d0a315c.tar.gz |
Merge pull request #7346 from erensezener/generalized_flip
Generalized flip
Diffstat (limited to 'doc')
-rw-r--r-- | doc/release/1.12.0-notes.rst | 6 | ||||
-rw-r--r-- | doc/source/reference/routines.array-manipulation.rst | 1 |
2 files changed, 7 insertions, 0 deletions
diff --git a/doc/release/1.12.0-notes.rst b/doc/release/1.12.0-notes.rst index 754427370..0b77688cc 100644 --- a/doc/release/1.12.0-notes.rst +++ b/doc/release/1.12.0-notes.rst @@ -99,6 +99,12 @@ keyword argument. It can be set to False when no write operation to the returned array is expected to avoid accidental unpredictable writes. +Generalized ``flip`` +~~~~~~~~~~~~~~~~~~~~ +``flipud`` and ``fliplr`` reverse the elements of an array along axis=0 and +axis=1 respectively. The newly added ``flip`` function reverses the elements of +an array along any given axis. + BLIS support in ``numpy.distutils`` ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/doc/source/reference/routines.array-manipulation.rst b/doc/source/reference/routines.array-manipulation.rst index f3ce4889b..b9cf6f448 100644 --- a/doc/source/reference/routines.array-manipulation.rst +++ b/doc/source/reference/routines.array-manipulation.rst @@ -109,6 +109,7 @@ Rearranging elements .. autosummary:: :toctree: generated/ + flip fliplr flipud reshape |