diff options
author | Travis E. Oliphant <teoliphant@gmail.com> | 2012-10-09 22:31:25 -0700 |
---|---|---|
committer | Travis E. Oliphant <teoliphant@gmail.com> | 2012-10-09 22:31:25 -0700 |
commit | ebc9bbb0f1d3f316254b29f8965112c85b63e62f (patch) | |
tree | a3e8e05e937ffd78b4f0719fdbdf17103b40132f /numpy/add_newdocs.py | |
parent | 87930c4c30f14226ae8ceb0340858fd9940d67ea (diff) | |
parent | 1a71edc55b227e590022d402e5b6558d3a9921f1 (diff) | |
download | numpy-ebc9bbb0f1d3f316254b29f8965112c85b63e62f.tar.gz |
Merge pull request #476 from njsmith/copy-memory-order
[FIX] preserve memory order in np.copy()
Diffstat (limited to 'numpy/add_newdocs.py')
-rw-r--r-- | numpy/add_newdocs.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/numpy/add_newdocs.py b/numpy/add_newdocs.py index 20da8ea8b..09effaaf5 100644 --- a/numpy/add_newdocs.py +++ b/numpy/add_newdocs.py @@ -3222,10 +3222,13 @@ add_newdoc('numpy.core.multiarray', 'ndarray', ('copy', Controls the memory layout of the copy. 'C' means C-order, 'F' means F-order, 'A' means 'F' if `a` is Fortran contiguous, 'C' otherwise. 'K' means match the layout of `a` as closely - as possible. + as possible. (Note that this function and :func:numpy.copy are very + similar, but have different default values for their order= + arguments.) See also -------- + numpy.copy numpy.copyto Examples |