Skip to content

Commit ddd89a7

Browse files
committed
[simd.permute.*] Fix wording that referred to V after renaming V to M for some overloads
1 parent b9a314f commit ddd89a7

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

source/numerics.tex

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18796,6 +18796,8 @@
1879618796
Let:
1879718797
\begin{itemize}
1879818798
\item
18799+
\tcode{V} be \tcode{M} for the overload without template parameter \tcode{V}.
18800+
\item
1879918801
\tcode{\exposid{gen-fn}(i)} be \tcode{idxmap(i, V::size())}
1880018802
if that expression is well-formed, and \tcode{idxmap(i)} otherwise.
1880118803
\item
@@ -18851,7 +18853,7 @@
1885118853
\begin{itemdescr}
1885218854
\pnum
1885318855
\expects
18854-
All values in \tcode{indices} are in the range \range{0}{V::size()}.
18856+
All values in \tcode{indices} are in the range \range{0}{v.size()}.
1885518857

1885618858
\pnum
1885718859
\returns
@@ -18891,7 +18893,7 @@
1889118893
\returns
1889218894
A data-parallel object where the $i^\text{th}$
1889318895
element is initialized to the result of \tcode{\exposidnc{select-value}($i$)}
18894-
for all $i$ in the range \range{0}{V::size()}.
18896+
for all $i$ in the range \range{0}{v.size()}.
1889518897
\end{itemdescr}
1889618898

1889718899
\indexlibrarymember{compress}{simd}
@@ -18901,7 +18903,7 @@
1890118903
const typename V::value_type& fill_value);
1890218904
template<@\exposconcept{simd-mask-type}@ M>
1890318905
constexpr M compress(const M& v, const type_identity_t<M>& selector,
18904-
const typename V::value_type& fill_value);
18906+
const typename M::value_type& fill_value);
1890518907
\end{itemdecl}
1890618908

1890718909
\begin{itemdescr}
@@ -18921,7 +18923,7 @@
1892118923
\returns
1892218924
A data-parallel object where the $i^\text{th}$
1892318925
element is initialized to the result of \tcode{\exposidnc{select-value}($i$)}
18924-
for all $i$ in the range \range{0}{V::size()}.
18926+
for all $i$ in the range \range{0}{v.size()}.
1892518927
\end{itemdescr}
1892618928

1892718929
\indexlibrarymember{expand}{simd}
@@ -18952,7 +18954,7 @@
1895218954
\returns
1895318955
A data-parallel object where the $i^\text{th}$
1895418956
element is initialized to the result of \tcode{\exposidnc{select-value}($i$)}
18955-
for all $i$ in the range \range{0}{V::size()}.
18957+
for all $i$ in the range \range{0}{v.size()}.
1895618958
\end{itemdescr}
1895718959

1895818960
\rSec3[simd.permute.memory]{\tcode{simd} memory permute}

0 commit comments

Comments
 (0)