Function narrow¶
function narrow(const vec<T, N> &) simd¶
Narrows x to length Nout by truncation.
Active when Nout <= N. The first Nout lanes of x are retained.
| Nout | Desired output length. |
| T | Element type of the vector. |
| N | Input vector length. |
| x | Source vector. |
A vector of length Nout holding the first Nout elements of x. |
Fully qualified name: kfr::narrow(const vec<T, N> &)
Declared at simd/shuffle.hpp:611
This file was generated by cxxdox, a C++ documentation generator based on MkDocs Material and libclang.