Skip to content

Commit

Permalink
Merge pull request #16199 from aaamini/patch-1
Browse files Browse the repository at this point in the history
Update arrays.rst
  • Loading branch information
tkelman committed May 5, 2016
2 parents cb1b491 + 91ca89a commit e0e93fc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/manual/arrays.rst
Original file line number Diff line number Diff line change
Expand Up @@ -363,8 +363,8 @@ where each ``I_k`` may be:
If ``X`` is an array, it must have the same number of elements as the product
of the lengths of the indices:
``prod(length(I_1), length(I_2), ..., length(I_n))``. The value in location
``i_1, i_2, ..., i_n`` of ``A`` is overwritten with the value
``X[I_1[i_1], I_2[i_2], ..., I_n[i_n]]``. If ``X`` is not an array, its value
``I_1[i_1], I_2[i_2], ..., I_n[i_n]`` of ``A`` is overwritten with the value
``X[i_1, i_2, ..., i_n]``. If ``X`` is not an array, its value
is written to all referenced locations of ``A``.

A boolean array used as an index behaves as in :func:`getindex`, behaving as
Expand Down

0 comments on commit e0e93fc

Please sign in to comment.