Home > @josh-brown/vector > isUpperTriangular
Tests if a matrix is upper-triangular.
Signature:
export declare function isUpperTriangular<S>(matrix: Matrix<S>): boolean;|
Parameter |
Type |
Description |
|---|---|---|
|
matrix |
Matrix<S> |
Returns:
boolean
true if the matrix is upper-triangular
A matrix is upper-triangular if all entries below the primary diagonal (those where i > j) are zero.