Skip to content

Function low

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

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

Extracts the largest power-of-two-sized low subvector of x.

Template parameters
T Element type of the vector.
N Input vector length.
Nout Output length, defaults to the largest power of two strictly less than N.
Parameters
x Source vector.
Returns
A vector holding the first Nout elements of x.

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

Declared at simd/shuffle.hpp:52

Function low

function low(vec_shape<T, N>) simd

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

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

low

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

Declared at simd/shuffle.hpp:62

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