Skip to content

Function duplow

function duplow(const vec<T, N> &) simd

template <typename T, size_t N>
KFR_INTRINSIC vec<T, N> duplow(const vec<T, N>& x)

Duplicates the lower half of x to fill the whole vector.

The first N/2 elements of x are repeated to occupy all N lanes.

Template parameters
T Element type of the vector.
N Input vector length.
Parameters
x Source vector.
Returns
A vector of length N whose two halves are both copies of the lower half of x.

Fully qualified name: kfr::duplow(const vec<T, N> &)

Declared at simd/shuffle.hpp:864

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