Function lowhalf¶
function lowhalf(const vec<T, N> &) simd¶
template <typename T, size_t N, size_t Nout = N / 2>
KFR_INTRINSIC vec<T, Nout> lowhalf(const vec<T, N>& x) Extracts the lower half of x.
| T | Element type of the vector. |
| N | Input vector length. |
| Nout | Output length, defaults to N / 2. |
| x | Source vector. |
A vector holding the first Nout elements of x. |
Fully qualified name: kfr::lowhalf(const vec<T, N> &)
Declared at simd/shuffle.hpp:76
Function lowhalf¶
function lowhalf(vec_shape<T, N>) simd¶
template <typename T, size_t N, size_t Nout = N / 2>
KFR_INTRINSIC vec_shape<T, Nout> lowhalf(vec_shape<T, N>) Shape-only overload of lowhalf() for type deduction.
Fully qualified name: kfr::lowhalf(vec_shape<T, N>)
Declared at simd/shuffle.hpp:86
This file was generated by cxxdox, a C++ documentation generator based on MkDocs Material and libclang.