Skip to content

Function shufflevectors

function shufflevectors(const vec<T, N> &, const vec<T, N> &, csizes_t<indices...>) simd

template <typename T, size_t N, size_t... indices>
KFR_INTRINSIC vec<T, sizeof...(indices)> shufflevectors(const vec<T, N>& x, const vec<T, N>& y,
                                                        csizes_t<indices...> i) noexcept

Permute elements from two concatenated vectors.

Parameters
x First source vector.
y Second source vector.
i Compile-time index list selecting from [0, 2N) .
Returns
Vector of size sizeof...(indices) .

Fully qualified name: kfr::shufflevectors(const vec<T, N> &, const vec<T, N> &, csizes_t<indices...>)

Declared at simd/vec.hpp:871

Function shufflevectors

function shufflevectors(const vec<complex<T>, N> &, const vec<T, N> &, csizes_t<indices...>) simd

template <typename T, size_t N, size_t... indices>
KFR_INTRINSIC vec<complex<T>, sizeof...(indices)> shufflevectors(const vec<complex<T>, N>& x,
                                                                 const vec<T, N>& y,
                                                                 csizes_t<indices...>) noexcept

Shuffles complex elements from two vectors x and y according to indices.

Parameters
x First source vector of complex values.
y Second source vector of real values.
Returns
Vector of complex values selected from the concatenated sources.

Fully qualified name: kfr::shufflevectors(const vec<complex<T>, N> &, const vec<T, N> &, csizes_t<indices...>)

Declared at simd/complex.hpp:130

This file was generated by cxxdox, a C++ documentation generator based on MkDocs Material and libclang.