Skip to content

Function part

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

template <size_t total, size_t number, typename T, size_t N, size_t Nout = N / total>
KFR_INTRINSIC vec<T, Nout> part(const vec<T, N>& x)

Extracts the number-th of total equal-sized parts of x.

Template parameters
total Number of equal parts the vector is divided into.
number Zero-based index of the part to extract.
T Element type of the vector.
N Input vector length, must be divisible by total.
Nout Output length, defaults to N / total.
Parameters
x Source vector.
Returns
A vector of length Nout holding part number of x.

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

Declared at simd/shuffle.hpp:505

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