class
SushiBLAS::Reduce::RunningMax
template <typename T>Holds a running maximum in the shape the folding seams accumulate in.
- Declared in
include/SushiBLAS/support/reduce_1d.hpp
See also
include/SushiBLAS/support/README.md
Static public member functions
static T identity() noexceptReturns the value an empty maximum has: -infinity, or the lowest finite value when T has no infinity.
See also
include/SushiBLAS/support/README.md
static T combine(T a, T b) noexceptCombines two finished maxima.
Returns
The greater, keeping a on a tie or a NaN.
Public member functions
void accumulate(T x) noexceptFolds one value into the running maximum.
Parameters
xThe value to consider.
T value() const noexceptReturns the maximum so far.
Returns
The running maximum, or identity if nothing was folded.

