libycxx

namespace

std::simd

Header
<simd>
Scope
std
cppreference
<simd> nearest page

Classes

NameDeclaration
alignmentclass templatetemplate struct alignment
basic_maskclass templatetemplate class basic_mask
basic_vecclass templatetemplate class basic_vec
flagsclassstruct flags
flagsclass templatetemplate struct flags
rebindclass templatetemplate struct rebind
resizeclass templatetemplate struct resize

Type aliases

NameDeclaration
maskalias template= vec<T, N>::mask_type
rebind_talias template= rebind<T, V>::type
resize_talias template= resize<N, V>::type
vecalias template= basic_vec<T, /* implementation-defined */>

Functions

NameDeclaration
absfunction template · 3 overloads/* implementation-defined */ abs(const V& j) +2 more
acosfunction template · 2 overloadsV acos(const V& v) +1 more
acoshfunction template · 2 overloadsV acosh(const V& v) +1 more
all_offunction · 2 overloadsbool all_of(auto x) +1 more
any_offunction · 2 overloadsbool any_of(auto x) +1 more
argfunction templaterebind_t<V::value_type::value_type, V> arg(const V& v)
asinfunction template · 2 overloadsV asin(const V& v) +1 more
asinhfunction template · 2 overloadsV asinh(const V& v) +1 more
assoc_laguerrefunction template/* implementation-defined */ assoc_laguerre(const std::simd::rebind_t<unsigned int, /* implementation-defined */>& n, const std::simd::rebind_t<unsigned int, /* implementation-defined */>& m, const V& x)
assoc_legendrefunction template/* implementation-defined */ assoc_legendre(const std::simd::rebind_t<unsigned int, /* implementation-defined */>& n, const std::simd::rebind_t<unsigned int, /* implementation-defined */>& m, const V& x)
atanfunction template · 2 overloadsV atan(const V& v) +1 more
atan2function template · 3 overloads/* implementation-defined */ atan2(const V& x, const V& y) +2 more
atanhfunction template · 2 overloadsV atanh(const V& v) +1 more
betafunction template · 3 overloads/* implementation-defined */ beta(const V& x, const V& y) +2 more
bit_ceilfunction templateV bit_ceil(const V& v)
bit_compressfunction template · 2 overloadsV bit_compress(const V& v, V::value_type m) +1 more
bit_expandfunction template · 2 overloadsV bit_expand(const V& v, V::value_type m) +1 more
bit_floorfunction templateV bit_floor(const V& v)
bit_repeatfunction template · 2 overloadsV bit_repeat(const V& v, int l) +1 more
bit_reversefunction templateV bit_reverse(const V& v)
bit_widthfunction templaterebind_t<make_signed_t<V::value_type>, V> bit_width(const V& v)
byteswapfunction templateV byteswap(const V& v)
catfunction template · 2 overloadsresize_t<(basic_mask<Bytes, Abis>::size() + ...), basic_mask<Bytes, Abis...[0]>> cat(const basic_mask<Bytes, Abis>&... xs) +1 more
cbrtfunction template/* implementation-defined */ cbrt(const V& x)
ceilfunction template/* implementation-defined */ ceil(const V& x)
chunkfunction template · 4 overloadsauto chunk(const basic_mask<simd-mask-element-size<T>, Abi>& x) +3 more
clampfunction templatebasic_vec<T, Abi> clamp(const basic_vec<T, Abi>& v, const basic_vec<T, Abi>& lo, const basic_vec<T, Abi>& hi)
comp_ellint_1function template/* implementation-defined */ comp_ellint_1(const V& x)
comp_ellint_2function template/* implementation-defined */ comp_ellint_2(const V& x)
comp_ellint_3function template · 3 overloads/* implementation-defined */ comp_ellint_3(const V& x, const V& y) +2 more
compressfunction template · 4 overloadsV compress(const V& v, const V& selector) +3 more
conjfunction templateV conj(const V& v)
copysignfunction template · 3 overloads/* implementation-defined */ copysign(const V& x, const V& y) +2 more
cosfunction template · 2 overloadsV cos(const V& v) +1 more
coshfunction template · 2 overloadsV cosh(const V& v) +1 more
countl_onefunction templaterebind_t<make_signed_t<V::value_type>, V> countl_one(const V& v)
countl_zerofunction templaterebind_t<make_signed_t<V::value_type>, V> countl_zero(const V& v)
countr_onefunction templaterebind_t<make_signed_t<V::value_type>, V> countr_one(const V& v)
countr_zerofunction templaterebind_t<make_signed_t<V::value_type>, V> countr_zero(const V& v)
cyl_bessel_ifunction template · 3 overloads/* implementation-defined */ cyl_bessel_i(const V& x, const V& y) +2 more
cyl_bessel_jfunction template · 3 overloads/* implementation-defined */ cyl_bessel_j(const V& x, const V& y) +2 more
cyl_bessel_kfunction template · 3 overloads/* implementation-defined */ cyl_bessel_k(const V& x, const V& y) +2 more
cyl_neumannfunction template · 3 overloads/* implementation-defined */ cyl_neumann(const V& x, const V& y) +2 more
ellint_1function template · 3 overloads/* implementation-defined */ ellint_1(const V& x, const V& y) +2 more
ellint_2function template · 3 overloads/* implementation-defined */ ellint_2(const V& x, const V& y) +2 more
ellint_3function template · 7 overloads/* implementation-defined */ ellint_3(const V& x, const V& y, const V& z) +6 more
erffunction template/* implementation-defined */ erf(const V& x)
erfcfunction template/* implementation-defined */ erfc(const V& x)
expfunction template · 2 overloadsV exp(const V& v) +1 more
exp2function template/* implementation-defined */ exp2(const V& x)
expandfunction template · 2 overloadsV expand(const V& v, const V& selector, const V& original) +1 more
expintfunction template/* implementation-defined */ expint(const V& x)
expm1function template/* implementation-defined */ expm1(const V& x)
fabsfunction template/* implementation-defined */ fabs(const V& x)
fdimfunction template · 3 overloads/* implementation-defined */ fdim(const V& x, const V& y) +2 more
floorfunction template/* implementation-defined */ floor(const V& x)
fmafunction template · 7 overloads/* implementation-defined */ fma(const V& x, const V& y, const V& z) +6 more
fmaxfunction template · 3 overloads/* implementation-defined */ fmax(const V& x, const V& y) +2 more
fminfunction template · 3 overloads/* implementation-defined */ fmin(const V& x, const V& y) +2 more
fmodfunction template · 3 overloads/* implementation-defined */ fmod(const V& x, const V& y) +2 more
fpclassifyfunction templatestd::simd::rebind_t<int, /* implementation-defined */> fpclassify(const V& x)
frexpfunction template/* implementation-defined */ frexp(const V& value, rebind_t<int, /* implementation-defined */>* exp)
has_single_bitfunction templateV::mask_type has_single_bit(const V& v)
hermitefunction template/* implementation-defined */ hermite(const std::simd::rebind_t<unsigned int, /* implementation-defined */>& n, const V& x)
hypotfunction template · 10 overloads/* implementation-defined */ hypot(const V& x, const V& y) +9 more
ilogbfunction templatestd::simd::rebind_t<int, /* implementation-defined */> ilogb(const V& x)
imagfunction templaterebind_t<V::value_type::value_type, V> imag(const V& v)
isfinitefunction template/* implementation-defined */::mask_type isfinite(const V& x)
isgreaterfunction template · 3 overloads/* implementation-defined */::mask_type isgreater(const V& x, const V& y) +2 more
isgreaterequalfunction template · 3 overloads/* implementation-defined */::mask_type isgreaterequal(const V& x, const V& y) +2 more
isinffunction template/* implementation-defined */::mask_type isinf(const V& x)
islessfunction template · 3 overloads/* implementation-defined */::mask_type isless(const V& x, const V& y) +2 more
islessequalfunction template · 3 overloads/* implementation-defined */::mask_type islessequal(const V& x, const V& y) +2 more
islessgreaterfunction template · 3 overloads/* implementation-defined */::mask_type islessgreater(const V& x, const V& y) +2 more
isnanfunction template/* implementation-defined */::mask_type isnan(const V& x)
isnormalfunction template/* implementation-defined */::mask_type isnormal(const V& x)
isunorderedfunction template · 3 overloads/* implementation-defined */::mask_type isunordered(const V& x, const V& y) +2 more
laguerrefunction template/* implementation-defined */ laguerre(const std::simd::rebind_t<unsigned int, /* implementation-defined */>& n, const V& x)
ldexpfunction template/* implementation-defined */ ldexp(const V& x, const std::simd::rebind_t<int, /* implementation-defined */>& n)
legendrefunction template/* implementation-defined */ legendre(const std::simd::rebind_t<unsigned int, /* implementation-defined */>& n, const V& x)
lerpfunction template · 7 overloads/* implementation-defined */ lerp(const V& x, const V& y, const V& z) +6 more
lgammafunction template/* implementation-defined */ lgamma(const V& x)
llrintfunction templatestd::simd::rebind_t<long long, /* implementation-defined */> llrint(const V& x)
llroundfunction templatestd::simd::rebind_t<long long, /* implementation-defined */> llround(const V& x)
logfunction template · 2 overloadsV log(const V& v) +1 more
log10function template · 2 overloadsV log10(const V& v) +1 more
log1pfunction template/* implementation-defined */ log1p(const V& x)
log2function template/* implementation-defined */ log2(const V& x)
logbfunction template/* implementation-defined */ logb(const V& x)
lrintfunction templatestd::simd::rebind_t<long, /* implementation-defined */> lrint(const V& x)
lroundfunction templatestd::simd::rebind_t<long, /* implementation-defined */> lround(const V& x)
maxfunction templatebasic_vec<T, Abi> max(const basic_vec<T, Abi>& a, const basic_vec<T, Abi>& b)
minfunction templatebasic_vec<T, Abi> min(const basic_vec<T, Abi>& a, const basic_vec<T, Abi>& b)
minmaxfunction templatepair<basic_vec<T, Abi>, basic_vec<T, Abi>> minmax(const basic_vec<T, Abi>& a, const basic_vec<T, Abi>& b)
modffunction templatebasic_vec<T, Abi> modf(const basic_vec<T, Abi>& value, basic_vec<T, Abi>* iptr)
nearbyintfunction template/* implementation-defined */ nearbyint(const V& x)
nextafterfunction template · 3 overloads/* implementation-defined */ nextafter(const V& x, const V& y) +2 more
none_offunction · 2 overloadsbool none_of(auto x) +1 more
normfunction templaterebind_t<V::value_type::value_type, V> norm(const V& v)
partial_gather_fromfunction template · 2 overloads/* implementation-defined */ partial_gather_from(R&& in, const I& indices, flags<Flags...>) +1 more
partial_loadfunction template · 6 overloads/* implementation-defined */ partial_load(R&& r, flags<Flags...>) +5 more
partial_scatter_tofunction template · 2 overloadsvoid partial_scatter_to(const V& v, R&& out, const I& indices, flags<Flags...>) +1 more
partial_storefunction template · 6 overloadsvoid partial_store(const basic_vec<T, Abi>& v, R&& r, flags<Flags...>) +5 more
permutefunction template · 2 overloadsresize_t<I::size(), V> permute(const V& v, const I& indices) +1 more
polarfunction templaterebind_t<complex<V::value_type>, V> polar(const V& x, const V& y)
popcountfunction templaterebind_t<make_signed_t<V::value_type>, V> popcount(const V& v)
powfunction template · 4 overloads/* implementation-defined */ pow(const V& x, const V& y) +3 more
projfunction templateV proj(const V& v)
realfunction templaterebind_t<V::value_type::value_type, V> real(const V& v)
reducefunction template · 6 overloadsT reduce(const T& x, BinaryOperation) +5 more
reduce_countfunction · 2 overloads/* implementation-defined */ reduce_count(auto x) +1 more
reduce_maxfunction template · 4 overloadsT reduce_max(const T& x) +3 more
reduce_max_indexfunction · 2 overloads/* implementation-defined */ reduce_max_index(auto x) +1 more
reduce_minfunction template · 4 overloadsT reduce_min(const T& x) +3 more
reduce_min_indexfunction · 2 overloads/* implementation-defined */ reduce_min_index(auto x) +1 more
remainderfunction template · 3 overloads/* implementation-defined */ remainder(const V& x, const V& y) +2 more
remquofunction template · 3 overloads/* implementation-defined */ remquo(const V& x, const V& y, rebind_t<int, /* implementation-defined */>* quo) +2 more
riemann_zetafunction template/* implementation-defined */ riemann_zeta(const V& x)
rintfunction template/* implementation-defined */ rint(const V& x)
rotlfunction template · 2 overloadsV rotl(const V& v, int s) +1 more
rotrfunction template · 2 overloadsV rotr(const V& v, int s) +1 more
roundfunction template/* implementation-defined */ round(const V& x)
scalblnfunction template/* implementation-defined */ scalbln(const V& x, const std::simd::rebind_t<long, /* implementation-defined */>& n)
scalbnfunction template/* implementation-defined */ scalbn(const V& x, const std::simd::rebind_t<int, /* implementation-defined */>& n)
selectfunction template · 2 overloadsremove_cvref_t<decltype(c ? a : b)> select(bool c, const T& a, const U& b) +1 more
shlfunction template · 2 overloadsVX shl(const VX& x, const VS& s) +1 more
shrfunction template · 2 overloadsVX shr(const VX& x, const VS& s) +1 more
signbitfunction template/* implementation-defined */::mask_type signbit(const V& x)
sinfunction template · 2 overloadsV sin(const V& v) +1 more
sinhfunction template · 2 overloadsV sinh(const V& v) +1 more
sph_besselfunction template/* implementation-defined */ sph_bessel(const std::simd::rebind_t<unsigned int, /* implementation-defined */>& n, const V& x)
sph_legendrefunction template/* implementation-defined */ sph_legendre(const std::simd::rebind_t<unsigned int, /* implementation-defined */>& n, const std::simd::rebind_t<unsigned int, /* implementation-defined */>& m, const V& x)
sph_neumannfunction template/* implementation-defined */ sph_neumann(const std::simd::rebind_t<unsigned int, /* implementation-defined */>& n, const V& x)
sqrtfunction template · 2 overloadsV sqrt(const V& v) +1 more
tanfunction template · 2 overloadsV tan(const V& v) +1 more
tanhfunction template · 2 overloadsV tanh(const V& v) +1 more
tgammafunction template/* implementation-defined */ tgamma(const V& x)
truncfunction template/* implementation-defined */ trunc(const V& x)
unchecked_gather_fromfunction template · 2 overloads/* implementation-defined */ unchecked_gather_from(R&& in, const I& indices, flags<Flags...> f) +1 more
unchecked_loadfunction template · 6 overloads/* implementation-defined */ unchecked_load(R&& r, flags<Flags...>) +5 more
unchecked_scatter_tofunction template · 2 overloadsvoid unchecked_scatter_to(const V& v, R&& out, const I& indices, flags<Flags...> f) +1 more
unchecked_storefunction template · 6 overloadsvoid unchecked_store(const basic_vec<T, Abi>& v, R&& r, flags<Flags...>) +5 more

Variables and function objects

NameDeclaration
alignment_vvariable templatesize_t
flag_alignedconstantflags</* implementation-defined */>
flag_convertconstantflags</* implementation-defined */>
flag_defaultconstantflags<>
flag_overalignedvariable templateflags</* implementation-defined */>
iotavariable templateT
uninit_elementconstant/* implementation-defined */
zero_elementconstant/* implementation-defined */

Deduction guides