|
18796 | 18796 | Let: |
18797 | 18797 | \begin{itemize} |
18798 | 18798 | \item |
| 18799 | +\tcode{V} be \tcode{M} for the overload without template parameter \tcode{V}. |
| 18800 | +\item |
18799 | 18801 | \tcode{\exposid{gen-fn}(i)} be \tcode{idxmap(i, V::size())} |
18800 | 18802 | if that expression is well-formed, and \tcode{idxmap(i)} otherwise. |
18801 | 18803 | \item |
|
18851 | 18853 | \begin{itemdescr} |
18852 | 18854 | \pnum |
18853 | 18855 | \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()}. |
18855 | 18857 |
|
18856 | 18858 | \pnum |
18857 | 18859 | \returns |
|
18891 | 18893 | \returns |
18892 | 18894 | A data-parallel object where the $i^\text{th}$ |
18893 | 18895 | 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()}. |
18895 | 18897 | \end{itemdescr} |
18896 | 18898 |
|
18897 | 18899 | \indexlibrarymember{compress}{simd} |
|
18901 | 18903 | const typename V::value_type& fill_value); |
18902 | 18904 | template<@\exposconcept{simd-mask-type}@ M> |
18903 | 18905 | 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); |
18905 | 18907 | \end{itemdecl} |
18906 | 18908 |
|
18907 | 18909 | \begin{itemdescr} |
|
18921 | 18923 | \returns |
18922 | 18924 | A data-parallel object where the $i^\text{th}$ |
18923 | 18925 | 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()}. |
18925 | 18927 | \end{itemdescr} |
18926 | 18928 |
|
18927 | 18929 | \indexlibrarymember{expand}{simd} |
|
18952 | 18954 | \returns |
18953 | 18955 | A data-parallel object where the $i^\text{th}$ |
18954 | 18956 | 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()}. |
18956 | 18958 | \end{itemdescr} |
18957 | 18959 |
|
18958 | 18960 | \rSec3[simd.permute.memory]{\tcode{simd} memory permute} |
|
0 commit comments