diff options
author | Anirudh Subramanian <anirudh2290@apache.org> | 2020-04-22 03:22:37 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-22 06:22:37 -0400 |
commit | 897431cc9207af9cbc34ce6295dd44256aad5db0 (patch) | |
tree | 8950d3ec2a13662447fbf288ff9351bfd5b2e359 | |
parent | 630f094b99afa8c693652066a3fb8918b9f3e142 (diff) | |
download | numpy-897431cc9207af9cbc34ce6295dd44256aad5db0.tar.gz |
DOC: Clarify single-segment arrays in np reference (#16011)
* Update doc/source/reference/arrays.ndarray.rst
Co-authored-by: Ross Barnowski <rossbar@berkeley.edu>
-rw-r--r-- | doc/source/reference/arrays.ndarray.rst | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/source/reference/arrays.ndarray.rst b/doc/source/reference/arrays.ndarray.rst index dec8c72c4..689240c7d 100644 --- a/doc/source/reference/arrays.ndarray.rst +++ b/doc/source/reference/arrays.ndarray.rst @@ -133,6 +133,11 @@ Both the C and Fortran orders are :term:`contiguous`, *i.e.,* single-segment, memory layouts, in which every part of the memory block can be accessed by some combination of the indices. +.. note:: + + `Contiguous arrays` and `single-segment arrays` are synonymous + and are used interchangeably throughout the documentation. + While a C-style and Fortran-style contiguous array, which has the corresponding flags set, can be addressed with the above strides, the actual strides may be different. This can happen in two cases: |