Function vector_min_index (o2scl)

O2scl : Function List

template<class vec_t, class data_t>
size_t o2scl::vector_min_index(size_t n, const vec_t &data)

Compute the index which holds the minimum of the first n elements of a vector.