simdpp::reduce_max(floatint-point)

From cppreference.com
< fp
template<unsigned N, class E1>
Ret reduce_max( const Vec1<N,E1>& a );

Computes the maximum of all elements in the vector. The implementation behaves as if the following set of overloads is provided:

Ret Vec1
float float32
double float64

Contents

Parameters

a - floating-point vector

Return value

A maximum of all elements within a vector

Equivalent operation

r = max(a0 , ... , aN)

See also