From 6383f6044bb8baa436552986cc477f9cab16d0e0 Mon Sep 17 00:00:00 2001 From: Eelis van der Weegen Date: Thu, 18 Aug 2022 18:40:34 +0200 Subject: [PATCH] Avoid nested dollar math. Because cxxdraft-htmlgen does not support it. --- source/containers.tex | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/source/containers.tex b/source/containers.tex index 5efbc19e7a..521c4941e8 100644 --- a/source/containers.tex +++ b/source/containers.tex @@ -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 @@ -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_}(slices...)}$ -$\le \tcode{\exposid{last_}<$k$>(src, slices...)}$ -$\le \tcode{src.extent($k$)}$ +$0 \le \exposid{first_}\tcode{(slices...)}$ +$\le \exposid{last_}\tcode{<}k\tcode{>(src, slices...)}$ +$\le \tcode{src.extent(}k\tcode{)}$ \end{itemize} \pnum @@ -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_}(slices...)} \\ -\hphantom{0 } \le \tcode{\exposid{last_}<$k$>(extents(), slices...)} \\ -\hphantom{0 } \le \tcode{extents().extent($k$)}$ +$0 \le \exposid{first_}\tcode{(slices...)} \\ +\hphantom{0 } \le \exposid{last_}\tcode{<}k\tcode{>(extents(), slices...)} \\ +\hphantom{0 } \le \tcode{extents().extent(}k\tcode{)}$ \end{itemize} \pnum @@ -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_}(slices...)}$ - $\le \tcode{\exposid{last_}<$k$>(src.extents(), slices...)}$ - $\le \tcode{\linebreak{}src.extent($k$)}$ + $0 \le \exposid{first_}\tcode{(slices...)} + \le \exposid{last_}\tcode{<}k\tcode{>(src.extents(), slices...)} + \le \tcode{src.extent(}k\tcode{)}$ \end{itemize} \item