Function replace¶
function replace(const vec<T, N> &, const vec<T, N> &) simd¶
template <size_t start, size_t count, typename T, size_t N>
KFR_INTRINSIC vec<T, N> replace(const vec<T, N>& x, const vec<T, N>& y) Replaces a contiguous range of x with the corresponding lanes of y.
Lanes of x in [ start, start + count) are taken from y; all other lanes are taken from x.
| start | Index of the first lane to replace. |
| count | Number of lanes to replace. |
| T | Element type of the vectors. |
| N | Length of each input vector. |
| x | Source vector providing the unchanged lanes. |
| y | Source vector providing the replacement lanes. |
A vector of length N with the selected range replaced. |
Fully qualified name: kfr::replace(const vec<T, N> &, const vec<T, N> &)
Declared at simd/shuffle.hpp:423
This file was generated by cxxdox, a C++ documentation generator based on MkDocs Material and libclang.