Function vector_is_finite (o2scl)

O2scl : Function List

template<class vec_t>
bool o2scl::vector_is_finite(size_t n, vec_t &data)

Test if the first n elements of a vector are finite.

If n is zero, this will return true without throwing an exception.

The corresponding tests for matrix functions are in clbas_base.h .

template<class vec_t>
bool o2scl::vector_is_finite(vec_t &data)

Test if a vector is finite.

If n is zero, this will return true without throwing an exception.

The corresponding tests for matrix functions are in clbas_base.h .