Skip to content

Commit 1357aed

Browse files
Eelistkoeppe
authored andcommitted
[class.gslice.overview] Replace $$...$$ with \[...\]. (#1334)
1 parent e5ca011 commit 1357aed

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

source/numerics.tex

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8023,10 +8023,8 @@
80238023
the
80248024
\tcode{valarray}
80258025
template, which is one-dimensional.
8026-
The set of one-dimensional index values specified by a
8027-
\tcode{gslice}
8028-
are $$k = s + \sum_ji_jd_j$$
8029-
% \$k = s + sum from j \{ i sub j d sub j \}\$
8026+
The set of one-dimensional index values specified by a \tcode{gslice} are
8027+
\[ k = s + \sum_j i_j d_j \]
80308028
where the multidimensional indices $i_j$ range in value from
80318029
0 to $l_{ij} - 1$.
80328030

@@ -8041,9 +8039,7 @@
80418039
stride = {19, 4, 1}
80428040
\end{codeblock}
80438041
yields the sequence of one-dimensional indices
8044-
8045-
$$k = 3 + (0,1) \times 19 + (0,1,2,3) \times 4 + (0,1,2) \times 1$$
8046-
8042+
\[ k = 3 + (0, 1) \times 19 + (0, 1, 2, 3) \times 4 + (0, 1, 2) \times 1 \]
80478043
which are ordered as shown in the following table:
80488044

80498045
\begin{tabbing}

0 commit comments

Comments
 (0)