@@ -295,8 +295,8 @@ If all the indices are scalars, then the result `X` is a single element from the
295295` X ` is an array with the same number of dimensions as the sum of the dimensionalities of all the
296296indices.
297297
298- If all indices are vectors, for example, then the shape of ` X ` would be ` (length(I₁), length(I₂), ..., length(Iₙ)) ` ,
299- with location ` ( i₁, i₂, ..., iₙ) ` of ` X ` containing the value ` A[( I₁[i₁], I₂[i₂], ..., Iₙ[iₙ]) ] ` .
298+ If all indices ` Iₖ ` are vectors, for example, then the shape of ` X ` would be ` (length(I₁), length(I₂), ..., length(Iₙ)) ` ,
299+ with location ` i₁, i₂, ..., iₙ ` of ` X ` containing the value ` A[I₁[i₁], I₂[i₂], ..., Iₙ[iₙ]] ` .
300300
301301Example:
302302
@@ -364,7 +364,7 @@ julia> A[[1 2; 1 2], 1, 2, 1]
364364 5 6
365365```
366366
367- The location ` ( i₁, i₂, i₃, ..., iₙ₊₁) ` contains the value at ` A[I₁[i₁, i₂], I₂[i₃], ..., Iₙ[iₙ₊₁]] ` .
367+ The location ` i₁, i₂, i₃, ..., iₙ₊₁ ` contains the value at ` A[I₁[i₁, i₂], I₂[i₃], ..., Iₙ[iₙ₊₁]] ` .
368368All dimensions indexed with scalars are dropped. For example, the result of ` A[2, J, 3] ` is an
369369array with size ` size(J) ` . Its ` i ` th element is populated by ` A[2, J[i], 3] ` .
370370
0 commit comments