Function linxal::properties::is_triangular
[−]
[src]
pub fn is_triangular<T, D>(mat: &ArrayBase<D, Ix2>, uplo: Symmetric) -> bool where
T: LinxalImplScalar,
D: Data<Elem = T>,
Return true iff the matrix is triangular / trapezoidal, with the
side specified by uplo
.
Uses the defalut toleranace for comparisons to 0.