Function matrix_is_upper (o2scl)

O2scl : Function List

template<class mat_t>
bool o2scl::matrix_is_upper(mat_t &src)

Simple test that a matrix is upper triangular.

template<class mat_t>
bool o2scl::matrix_is_upper(size_t m, size_t n, mat_t &src)

Simple test that a matrix is upper triangular for the first m rows and n columns.