Skip to content

Commit 6383f60

Browse files
committed
Avoid nested dollar math.
Because cxxdraft-htmlgen does not support it.
1 parent e8db0bb commit 6383f60

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

source/containers.tex

+16-16
Original file line numberDiff line numberDiff line change
@@ -18945,7 +18945,7 @@
1894518945

1894618946
\pnum
1894718947
An integer $r$ is a \defn{rank index} of an index space $S$
18948-
if $r$ is in the range $[0, \text{rank of $S$})$.
18948+
if $r$ is in the range $[0, \text{rank of }S)$.
1894918949

1895018950
\pnum
1895118951
A pack of integers \tcode{idx} is
@@ -21748,13 +21748,13 @@
2174821748
\item
2174921749
if $S_k$ is a specialization of \tcode{strided_slice}
2175021750
\begin{itemize}
21751-
\item $\tcode{$s_k$.extent = 0}$, or
21752-
\item $\tcode{$s_k$.stride > 0}$
21751+
\item $s_k\tcode{.extent} = 0$, or
21752+
\item $s_k\tcode{.stride} > 0$
2175321753
\end{itemize}
2175421754
\item
21755-
$0 \le \tcode{\exposid{first_}<IndexType, $k$>(slices...)}$
21756-
$\le \tcode{\exposid{last_}<$k$>(src, slices...)}$
21757-
$\le \tcode{src.extent($k$)}$
21755+
$0 \le \exposid{first_}\tcode{<IndexType, }k\tcode{>(slices...)}$
21756+
$\le \exposid{last_}\tcode{<}k\tcode{>(src, slices...)}$
21757+
$\le \tcode{src.extent(}k\tcode{)}$
2175821758
\end{itemize}
2175921759

2176021760
\pnum
@@ -21871,13 +21871,13 @@
2187121871
\item
2187221872
if $S_k$ is a specialization of \tcode{strided_slice}
2187321873
\begin{itemize}
21874-
\item $\tcode{$s_k$.extent} = 0$, or
21875-
\item $\tcode{$s_k$.stride} > 0$
21874+
\item $s_k\tcode{.extent} = 0$, or
21875+
\item $s_k\tcode{.stride} > 0$
2187621876
\end{itemize}
2187721877
\item
21878-
$0 \le \tcode{\exposid{first_}<index_type, $k$>(slices...)} \\
21879-
\hphantom{0 } \le \tcode{\exposid{last_}<$k$>(extents(), slices...)} \\
21880-
\hphantom{0 } \le \tcode{extents().extent($k$)}$
21878+
$0 \le \exposid{first_}\tcode{<index_type, }k\tcode{>(slices...)} \\
21879+
\hphantom{0 } \le \exposid{last_}\tcode{<}k\tcode{>(extents(), slices...)} \\
21880+
\hphantom{0 } \le \tcode{extents().extent(}k\tcode{)}$
2188121881
\end{itemize}
2188221882

2188321883
\pnum
@@ -22036,13 +22036,13 @@
2203622036
\item
2203722037
if $S_k$ is a specialization of \tcode{strided_slice}
2203822038
\begin{itemize}
22039-
\item $\tcode{$s_k$.extent} = 0$, or
22040-
\item $\tcode{$s_k$.stride} > 0$
22039+
\item $s_k\tcode{.extent} = 0$, or
22040+
\item $s_k\tcode{.stride} > 0$
2204122041
\end{itemize}
2204222042
\item
22043-
$0 \le \tcode{\exposid{first_}<index_type, $k$>(slices...)}$
22044-
$\le \tcode{\exposid{last_}<$k$>(src.extents(), slices...)}$
22045-
$\le \tcode{\linebreak{}src.extent($k$)}$
22043+
$0 \le \exposid{first_}\tcode{<index_type, }k\tcode{>(slices...)}
22044+
\le \exposid{last_}\tcode{<}k\tcode{>(src.extents(), slices...)}
22045+
\le \tcode{src.extent(}k\tcode{)}$
2204622046
\end{itemize}
2204722047

2204822048
\item

0 commit comments

Comments
 (0)