Function vector_max_value (o2scl)

O2scl : Function List

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

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

template<class vec_t, class data_t>
data_t o2scl::vector_max_value(const vec_t &data)

Compute the maximum value of a vector.