diff options
author | aha66 <andreas@aha66.at> | 2017-01-28 20:33:19 +0100 |
---|---|---|
committer | Pauli Virtanen <pav@iki.fi> | 2017-01-28 20:33:19 +0100 |
commit | 7562543582e8a456d7e9d9decc7493608dfdd5af (patch) | |
tree | 41d8b623b8e125ee4ba806842fc77b7165d7ae43 | |
parent | 7a36b5010b4a9b30a05db7679f3485276aa6bd4b (diff) | |
download | numpy-7562543582e8a456d7e9d9decc7493608dfdd5af.tar.gz |
Revert 8540 patch 1 (#8541)
DOC: fix error in arrays.ndarray.rst again
-rw-r--r-- | doc/source/reference/arrays.ndarray.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/source/reference/arrays.ndarray.rst b/doc/source/reference/arrays.ndarray.rst index e5295e87a..f57fb0728 100644 --- a/doc/source/reference/arrays.ndarray.rst +++ b/doc/source/reference/arrays.ndarray.rst @@ -108,7 +108,7 @@ objects can accommodate any *strided indexing scheme*. In a strided scheme, the N-dimensional index :math:`(n_0, n_1, ..., n_{N-1})` corresponds to the offset (in bytes): -.. math:: n_{\mathrm{offset}} = \mathrm{itemsize} \sum_{k=0}^{N-1} s_k n_k +.. math:: n_{\mathrm{offset}} = \sum_{k=0}^{N-1} s_k n_k from the beginning of the memory block associated with the array. Here, :math:`s_k` are integers which specify the :obj:`strides @@ -119,8 +119,8 @@ strided scheme, and correspond to memory that can be *addressed* by the strides: .. math:: - s_k^{\mathrm{column}} = \prod_{j=0}^{k-1} d_j , - \quad s_k^{\mathrm{row}} = \prod_{j=k+1}^{N-1} d_j . + s_k^{\mathrm{column}} = \mathrm{itemsize} \prod_{j=0}^{k-1} d_j , + \quad s_k^{\mathrm{row}} = \mathrm{itemsize} \prod_{j=k+1}^{N-1} d_j . .. index:: single-segment, contiguous, non-contiguous |