Skip to content

Latest commit

 

History

History
58 lines (28 loc) · 865 Bytes

File metadata and controls

58 lines (28 loc) · 865 Bytes

Home > @josh-brown/vector > isUpperTriangular

isUpperTriangular() function

Tests if a matrix is upper-triangular.

Signature:

export declare function isUpperTriangular<S>(matrix: Matrix<S>): boolean;

Parameters

Parameter

Type

Description

matrix

Matrix<S>

Returns:

boolean

true if the matrix is upper-triangular

Remarks

A matrix is upper-triangular if all entries below the primary diagonal (those where i > j) are zero.