Function matrix_is_finite (o2scl_cblas)

O2scl : Function List

template<class mat_t>
bool o2scl_cblas::matrix_is_finite(size_t m, size_t n, mat_t &data)

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

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

template<class mat_t>
bool o2scl_cblas::matrix_is_finite(mat_t &data)

Test if a matrix is finite.

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