Skip to content

Commit e554789

Browse files
committed
[linalg.layout.packed.obs] Introduce i and j earlier and use it in \expects
1 parent 9839852 commit e554789

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
@@ -11693,7 +11693,6 @@
1169311693
\end{itemdecl}
1169411694

1169511695
\begin{itemdescr}
11696-
1169711696
\pnum
1169811697
\constraints
1169911698
\begin{itemize}
@@ -11707,16 +11706,18 @@
1170711706
\tcode{is_nothrow_constructible_v<index_type, Index1>} is \tcode{true}.
1170811707
\end{itemize}
1170911708

11709+
\pnum
11710+
Let \tcode{i} be \tcode{extents_type::\exposid{index-cast}(ind0)}, and
11711+
let \tcode{j} be \tcode{extents_type::\exposid{index-cast}(ind1)}.
11712+
1171011713
\pnum
1171111714
\expects
11712-
\tcode{extents_type::\exposid{index-cast}(ind0), extents_type::\exposid{index-cast}(ind1)}
11715+
\tcode{i, j}
1171311716
is a multidimensional index in \exposid{extents_}\iref{mdspan.overview}.
1171411717

1171511718
\pnum
1171611719
\returns
11717-
Let \tcode{N} be \tcode{\exposid{extents_}.extent(0)},
11718-
let \tcode{i} be \tcode{extents_type::\exposid{index-cast}(ind0)}, and
11719-
let \tcode{j} be \tcode{extents_type::\exposid{index-cast}(ind1)}.
11720+
Let \tcode{N} be \tcode{\exposid{extents_}.extent(0)}.
1172011721
Then
1172111722
\begin{itemize}
1172211723
\item

0 commit comments

Comments
 (0)