Skip to content

Function highhalf

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

template <typename T, size_t N, size_t Nout = N - N / 2>
KFR_INTRINSIC vec<T, Nout> highhalf(const vec<T, N>& x)

Extracts the upper half of x.

Template parameters
T Element type of the vector.
N Input vector length.
Nout Output length, defaults to N - N / 2.
Parameters
x Source vector.
Returns
A vector holding the last Nout elements of x.

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

Declared at simd/shuffle.hpp:124

Function highhalf

function highhalf(vec_shape<T, N>) simd

template <typename T, size_t N, size_t Nout = N - N / 2>
KFR_INTRINSIC vec_shape<T, Nout> highhalf(vec_shape<T, N>)

Shape-only overload of highhalf() for type deduction.

highhalf

Fully qualified name: kfr::highhalf(vec_shape<T, N>)

Declared at simd/shuffle.hpp:134

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