Skip to content

[simd.permute.*] Fix wording that referred to V after renaming V to M for some overloads #8132

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 7 additions & 5 deletions source/numerics.tex
Original file line number Diff line number Diff line change
Expand Up @@ -18796,6 +18796,8 @@
Let:
\begin{itemize}
\item
\tcode{V} be \tcode{M} for the overload without template parameter \tcode{V}.
\item
\tcode{\exposid{gen-fn}(i)} be \tcode{idxmap(i, V::size())}
if that expression is well-formed, and \tcode{idxmap(i)} otherwise.
\item
Expand Down Expand Up @@ -18851,7 +18853,7 @@
\begin{itemdescr}
\pnum
\expects
All values in \tcode{indices} are in the range \range{0}{V::size()}.
All values in \tcode{indices} are in the range \range{0}{v.size()}.

\pnum
\returns
Expand Down Expand Up @@ -18891,7 +18893,7 @@
\returns
A data-parallel object where the $i^\text{th}$
element is initialized to the result of \tcode{\exposidnc{select-value}($i$)}
for all $i$ in the range \range{0}{V::size()}.
for all $i$ in the range \range{0}{v.size()}.
\end{itemdescr}

\indexlibrarymember{compress}{simd}
Expand All @@ -18901,7 +18903,7 @@
const typename V::value_type& fill_value);
template<@\exposconcept{simd-mask-type}@ M>
constexpr M compress(const M& v, const type_identity_t<M>& selector,
const typename V::value_type& fill_value);
const typename M::value_type& fill_value);
\end{itemdecl}

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

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

\rSec3[simd.permute.memory]{\tcode{simd} memory permute}
Expand Down