num::argmax¶
Defined in header <stats/selection.hpp>
template <typename Score>
idx argmax(idx count, Score &&score); // (1)
template <typename T>
idx argmax(view<const T> values); // (2)
(1) Return the first index with the largest projected value.
(2) Return the first index of the largest value.