Skip to content

Function duphalves

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

template <typename T, size_t N>
KFR_INTRINSIC vec<T, N * 2> duphalves(const vec<T, N>& x)

Duplicates the contents of x to form a vector twice as long.

Template parameters
T Element type of the vector.
N Input vector length.
Parameters
x Source vector.
Returns
A vector of length N * 2 containing two copies of x.

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

Declared at simd/shuffle.hpp:694

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