Function vector_minmax_value (o2scl)

O2scl : Function List

template<class vec_t, class data_t>
void o2scl::vector_minmax_value(size_t n, vec_t &data, data_t &min, data_t &max)

Compute the minimum and maximum of the first n elements of a vector.