Skip to content

Commit fb16d59

Browse files
jensmaurertkoeppe
authored andcommitted
[linalg.layout.packed.obs] Introduce i and j earlier and use it in \expects
1 parent 764f4fd commit fb16d59

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

source/numerics.tex

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11762,7 +11762,6 @@
1176211762
\end{itemdecl}
1176311763

1176411764
\begin{itemdescr}
11765-
1176611765
\pnum
1176711766
\constraints
1176811767
\begin{itemize}
@@ -11776,16 +11775,18 @@
1177611775
\tcode{is_nothrow_constructible_v<index_type, Index1>} is \tcode{true}.
1177711776
\end{itemize}
1177811777

11778+
\pnum
11779+
Let \tcode{i} be \tcode{extents_type::\exposid{index-cast}(ind0)}, and
11780+
let \tcode{j} be \tcode{extents_type::\exposid{index-cast}(ind1)}.
11781+
1177911782
\pnum
1178011783
\expects
11781-
\tcode{extents_type::\exposid{index-cast}(ind0), extents_type::\exposid{index-cast}(ind1)}
11784+
\tcode{i, j}
1178211785
is a multidimensional index in \exposid{extents_}\iref{mdspan.overview}.
1178311786

1178411787
\pnum
1178511788
\returns
11786-
Let \tcode{N} be \tcode{\exposid{extents_}.extent(0)},
11787-
let \tcode{i} be \tcode{extents_type::\exposid{index-cast}(ind0)}, and
11788-
let \tcode{j} be \tcode{extents_type::\exposid{index-cast}(ind1)}.
11789+
Let \tcode{N} be \tcode{\exposid{extents_}.extent(0)}.
1178911790
Then
1179011791
\begin{itemize}
1179111792
\item

0 commit comments

Comments
 (0)