Skip to content

Commit

Permalink
Avoid nested dollar math.
Browse files Browse the repository at this point in the history
Because cxxdraft-htmlgen does not support it.
  • Loading branch information
Eelis committed Aug 25, 2023
1 parent e8db0bb commit 6383f60
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions source/containers.tex
Original file line number Diff line number Diff line change
Expand Up @@ -18945,7 +18945,7 @@

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

\pnum
A pack of integers \tcode{idx} is
Expand Down Expand Up @@ -21748,13 +21748,13 @@
\item
if $S_k$ is a specialization of \tcode{strided_slice}
\begin{itemize}
\item $\tcode{$s_k$.extent = 0}$, or
\item $\tcode{$s_k$.stride > 0}$
\item $s_k\tcode{.extent} = 0$, or
\item $s_k\tcode{.stride} > 0$
\end{itemize}
\item
$0 \le \tcode{\exposid{first_}<IndexType, $k$>(slices...)}$
$\le \tcode{\exposid{last_}<$k$>(src, slices...)}$
$\le \tcode{src.extent($k$)}$
$0 \le \exposid{first_}\tcode{<IndexType, }k\tcode{>(slices...)}$
$\le \exposid{last_}\tcode{<}k\tcode{>(src, slices...)}$
$\le \tcode{src.extent(}k\tcode{)}$
\end{itemize}

\pnum
Expand Down Expand Up @@ -21871,13 +21871,13 @@
\item
if $S_k$ is a specialization of \tcode{strided_slice}
\begin{itemize}
\item $\tcode{$s_k$.extent} = 0$, or
\item $\tcode{$s_k$.stride} > 0$
\item $s_k\tcode{.extent} = 0$, or
\item $s_k\tcode{.stride} > 0$
\end{itemize}
\item
$0 \le \tcode{\exposid{first_}<index_type, $k$>(slices...)} \\
\hphantom{0 } \le \tcode{\exposid{last_}<$k$>(extents(), slices...)} \\
\hphantom{0 } \le \tcode{extents().extent($k$)}$
$0 \le \exposid{first_}\tcode{<index_type, }k\tcode{>(slices...)} \\
\hphantom{0 } \le \exposid{last_}\tcode{<}k\tcode{>(extents(), slices...)} \\
\hphantom{0 } \le \tcode{extents().extent(}k\tcode{)}$
\end{itemize}

\pnum
Expand Down Expand Up @@ -22036,13 +22036,13 @@
\item
if $S_k$ is a specialization of \tcode{strided_slice}
\begin{itemize}
\item $\tcode{$s_k$.extent} = 0$, or
\item $\tcode{$s_k$.stride} > 0$
\item $s_k\tcode{.extent} = 0$, or
\item $s_k\tcode{.stride} > 0$
\end{itemize}
\item
$0 \le \tcode{\exposid{first_}<index_type, $k$>(slices...)}$
$\le \tcode{\exposid{last_}<$k$>(src.extents(), slices...)}$
$\le \tcode{\linebreak{}src.extent($k$)}$
$0 \le \exposid{first_}\tcode{<index_type, }k\tcode{>(slices...)}
\le \exposid{last_}\tcode{<}k\tcode{>(src.extents(), slices...)}
\le \tcode{src.extent(}k\tcode{)}$
\end{itemize}

\item
Expand Down

0 comments on commit 6383f60

Please sign in to comment.