Skip to content

Function high

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

template <typename T, size_t N, size_t Nout = N - prev_poweroftwo(N - 1)>
KFR_INTRINSIC vec<T, Nout> high(const vec<T, N>& x)

Extracts the high subvector of x with non-power-of-two-aware sizing.

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

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

Declared at simd/shuffle.hpp:100

Function high

function high(vec_shape<T, N>) simd

template <typename T, size_t N, size_t Nout = N - prev_poweroftwo(N - 1)>
KFR_INTRINSIC vec_shape<T, Nout> high(vec_shape<T, N>)

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

high

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

Declared at simd/shuffle.hpp:110

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