#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 smaller | |
| void | include (T testVal, I testArg) |
| changes val and arg if given point is smaller | |
| void | include (const MinArg &s) |
| changes val and arg if given point is smaller | |
Public Attributes | |
| T | val = std::numeric_limits<T>::max() |
| I | arg |
minimum of some elements of type T, and the index of where minimum is reached of type I
|
inline |
|
inline |
changes val and arg if given point is smaller
|
inline |
changes val and arg if given point is smaller
|
inline |
changes val and arg if given point is smaller
| I MR::MinArg< T, I >::arg |
| T MR::MinArg< T, I >::val = std::numeric_limits<T>::max() |