Function horizontal¶
function horizontal(const vec<T, N> &, ReduceFn &&) simd¶
template <typename T, size_t N, typename ReduceFn>
KFR_INTRINSIC T horizontal(const vec<T, N>& value, ReduceFn&& reduce) Applies a reduction function horizontally across all elements of the vector.
| T | The element type of the vector. |
| N | The number of elements in the vector. |
| ReduceFn | The reduction function type. |
| value | The input vector. |
| reduce | The reduction function to apply. |
| The result of the reduction across all elements. |
Fully qualified name: kfr::horizontal(const vec<T, N> &, ReduceFn &&)
Declared at simd/horizontal.hpp:68
This file was generated by cxxdox, a C++ documentation generator based on MkDocs Material and libclang.