Skip to content

function hmin(const vec<T, N> &) horizontal

template <typename T, size_t N>
KFR_INTRINSIC T hmin(const vec<T, N>& value)

Computes the minimum element in the vector.

Template parameters
T The element type of the vector.
N The number of elements in the vector.
Parameters
value The input vector.
Returns
The minimum value among all elements.

Defined at simd/horizontal.hpp:236