#include <MRMinMaxArg.h>
Public Member Functions | |
auto | asPair () const |
void | include (const std::pair< T, I > &p) |
changes val and arg if given point is larger | |
void | include (T testVal, I testArg) |
changes val and arg if given point is larger | |
void | include (const MaxArg &s) |
changes val and arg if given point is larger | |
Public Attributes | |
T | val = std::numeric_limits<T>::lowest() |
I | arg |
maximum of some elements of type T, and the index of where maximum is reached of type I
|
inline |
|
inline |
changes val and arg if given point is larger
|
inline |
changes val and arg if given point is larger
|
inline |
changes val and arg if given point is larger
I MR::MaxArg< T, I >::arg |
T MR::MaxArg< T, I >::val = std::numeric_limits<T>::lowest() |