ReadOnlyDoubleMatrixIsUpperTriangular Property |
Namespace: Novacta.Analytics
A matrix is upper triangular if it is square and the entries on its sub-diagonals are zero.
Let be a matrix, and consider its generic entry
where and
are the
number of rows and columns of , respectively.
If , the matrix has
sub-diagonals: for
, the
-th sub-diagonal is the collection of entries
corresponding to the positions
Hence IsUpperTriangular returns true if and whenever .