Template Function bitrl::utils::maths::arg_min¶
Defined in File math_utils.h
Function Documentation¶
-
template<typename VectorType>
uint_t bitrl::utils::maths::arg_min(const VectorType &vec)¶ Returns the index of the element that has the minimum value in the array. Implementation taken from http://www.jclay.host/dev-journal/simple_cpp_argmax_argmin.html.