Skip to content

Commit f81ca7f

Browse files
committed
[numeric.ops] Use \dotsc for a non-code ellipsis
1 parent 556416d commit f81ca7f

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

source/algorithms.tex

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -9894,24 +9894,24 @@
98949894

98959895
\indexlibrary{generalized_noncommutative_sum@\tcode{\placeholder{GENERALIZED_NONCOMMUTATIVE_SUM}}}%
98969896
\pnum
9897-
Define \tcode{\placeholdernc{GENERALIZED_NONCOMMUTATIVE_SUM}(op, a1, ..., aN)}
9897+
Define \tcode{\placeholdernc{GENERALIZED_NONCOMMUTATIVE_SUM}(op, a1, $\dotsc$, aN)}
98989898
as follows:
98999899
\begin{itemize}
99009900
\item
99019901
\tcode{a1} when \tcode{N} is \tcode{1}, otherwise
99029902

99039903
\item
9904-
\tcode{op(\placeholdernc{GENERALIZED_NONCOMMUTATIVE_SUM}(op, a1, ..., aK),} \\
9905-
\tcode{\phantom{op(}\placeholdernc{GENERALIZED_NONCOMMUTATIVE_SUM}(op, aM, ..., aN))}
9904+
\tcode{op(\placeholdernc{GENERALIZED_NONCOMMUTATIVE_SUM}(op, a1, $\dotsc$, aK),} \\
9905+
\tcode{\phantom{op(}\placeholdernc{GENERALIZED_NONCOMMUTATIVE_SUM}(op, aM, $\dotsc$, aN))}
99069906
for any \tcode{K} where $1 < \mathtt{K}+1 = \mathtt{M} \leq \mathtt{N}$.
99079907
\end{itemize}
99089908

99099909
\indexlibrary{generalized_sum@\tcode{\placeholder{GENERALIZED_SUM}}}%
99109910
\pnum
9911-
Define \tcode{\placeholdernc{GENERALIZED_SUM}(op, a1, ..., aN)} as
9912-
\tcode{\placeholdernc{GENERALIZED_NONCOMMUTATIVE_SUM}(op, b1, ..., bN)},
9913-
where
9914-
\tcode{b1, ..., bN} may be any permutation of \tcode{a1, ..., aN}.
9911+
Define \tcode{\placeholdernc{GENERALIZED_SUM}(op, a1, $\dotsc$, aN)} as
9912+
\tcode{\placeholdernc{GENERALIZED_NONCOMMUTATIVE_SUM}(op, b1, $\dotsc$, bN)},
9913+
\linebreak{}where
9914+
\tcode{b1, $\dotsc$, bN} may be any permutation of \tcode{a1, $\dotsc$, aN}.
99159915

99169916
\rSec2[accumulate]{Accumulate}
99179917

@@ -10059,7 +10059,7 @@
1005910059

1006010060
\pnum
1006110061
\returns
10062-
\tcode{\placeholdernc{GENERALIZED_SUM}(binary_op, init, *i, ...)}
10062+
\tcode{\placeholdernc{GENERALIZED_SUM}(binary_op, init, *i, $\dotsc$)}
1006310063
for every \tcode{i} in \range{first}{last}.
1006410064

1006510065
\pnum
@@ -10201,7 +10201,7 @@
1020110201
\pnum
1020210202
\returns
1020310203
\begin{codeblock}
10204-
@\placeholdernc{GENERALIZED_SUM}@(binary_op1, init, binary_op2(*i, *(first2 + (i - first1))), ...)
10204+
@\placeholdernc{GENERALIZED_SUM}@(binary_op1, init, binary_op2(*i, *(first2 + (i - first1))), @$\dotsc$@)
1020510205
\end{codeblock}
1020610206
for every iterator \tcode{i} in \range{first1}{last1}.
1020710207

@@ -10250,7 +10250,7 @@
1025010250
\pnum
1025110251
\returns
1025210252
\begin{codeblock}
10253-
@\placeholdernc{GENERALIZED_SUM}@(binary_op, init, unary_op(*i), ...)
10253+
@\placeholdernc{GENERALIZED_SUM}@(binary_op, init, unary_op(*i), @$\dotsc$@)
1025410254
\end{codeblock}
1025510255
for every iterator \tcode{i} in \range{first}{last}.
1025610256

@@ -10403,7 +10403,7 @@
1040310403
assigns through \tcode{result + K} the value of:
1040410404
\begin{codeblock}
1040510405
@\placeholdernc{GENERALIZED_NONCOMMUTATIVE_SUM}@(
10406-
binary_op, init, *(first + 0), *(first + 1), ..., *(first + K - 1))
10406+
binary_op, init, *(first + 0), *(first + 1), @$\dotsc$@, *(first + K - 1))
1040710407
\end{codeblock}
1040810408

1040910409
\pnum
@@ -10527,10 +10527,10 @@
1052710527
\begin{itemize}
1052810528
\item
1052910529
\tcode{\placeholdernc{GENERALIZED_NONCOMMUTATIVE_SUM}(\\\phantom{\tcode{\ \ \ \ }}binary_op,
10530-
init, *(first + 0), *(first + 1), ..., *(first + K))}\\if \tcode{init} is provided, or
10530+
init, *(first + 0), *(first + 1), $\dotsc$, *(first + K))}\\if \tcode{init} is provided, or
1053110531
\item
1053210532
\tcode{\placeholdernc{GENERALIZED_NONCOMMUTATIVE_SUM}(\\\phantom{\tcode{\ \ \ \ }}binary_op,
10533-
*(first + 0), *(first + 1), ..., *(first + K))}\\otherwise.
10533+
*(first + 0), *(first + 1), $\dotsc$, *(first + K))}\\otherwise.
1053410534
\end{itemize}
1053510535

1053610536
\pnum
@@ -10604,7 +10604,7 @@
1060410604
\begin{codeblock}
1060510605
@\placeholdernc{GENERALIZED_NONCOMMUTATIVE_SUM}@(
1060610606
binary_op, init,
10607-
unary_op(*(first + 0)), unary_op(*(first + 1)), ..., unary_op(*(first + K - 1)))
10607+
unary_op(*(first + 0)), unary_op(*(first + 1)), @$\dotsc$@, unary_op(*(first + K - 1)))
1060810608
\end{codeblock}
1060910609

1061010610
\pnum
@@ -10704,10 +10704,10 @@
1070410704
assigns through \tcode{result + K} the value of
1070510705
\begin{itemize}
1070610706
\item
10707-
\tcode{\placeholdernc{GENERALIZED_NONCOMMUTATIVE_SUM}(\\\phantom{\tcode{\ \ \ \ }}binary_op, init,\\\phantom{\tcode{\ \ \ \ }}unary_op(*(first + 0)), unary_op(*(first + 1)), ..., unary_op(*(first + K)))}\\
10707+
\tcode{\placeholdernc{GENERALIZED_NONCOMMUTATIVE_SUM}(\\\phantom{\tcode{\ \ \ \ }}binary_op, init,\\\phantom{\tcode{\ \ \ \ }}unary_op(*(first + 0)), unary_op(*(first + 1)), $\dotsc$, unary_op(*(first + K)))}\\
1070810708
if \tcode{init} is provided, or
1070910709
\item
10710-
\tcode{\placeholdernc{GENERALIZED_NONCOMMUTATIVE_SUM}(\\\phantom{\tcode{\ \ \ \ }}binary_op,\\\phantom{\tcode{\ \ \ \ }}unary_op(*(first + 0)), unary_op(*(first + 1)), ..., unary_op(*(first + K)))}\\
10710+
\tcode{\placeholdernc{GENERALIZED_NONCOMMUTATIVE_SUM}(\\\phantom{\tcode{\ \ \ \ }}binary_op,\\\phantom{\tcode{\ \ \ \ }}unary_op(*(first + 0)), unary_op(*(first + 1)), $\dotsc$, unary_op(*(first + K)))}\\
1071110711
otherwise.
1071210712
\end{itemize}
1071310713

0 commit comments

Comments
 (0)