Function vector_reverse_double (o2scl)

O2scl : Function List

template<class vec_t>
void o2scl::vector_reverse_double(size_t n, vec_t &data)

Reverse the first n elements in a vector of double precision numbers.

If n is zero, this function will silently do nothing.

template<class vec_t>
void o2scl::vector_reverse_double(vec_t &data)

Reverse a vector of double precision numbers.

If the size() method returns zero, this function will silently do nothing.