Click or drag to resize

ComplexMatrixIsDiagonal Property

Gets a value indicating whether this instance is diagonal.

Namespace:  Novacta.Analytics
Assembly:  Novacta.Analytics (in Novacta.Analytics.dll) Version: 2.0.0
Syntax
public bool IsDiagonal { get; }

Property Value

Type: Boolean
true if this instance is diagonal; otherwise, false.

Implements

IMatrixPatternsIsDiagonal
Remarks

A matrix is diagonal if it is square with zero elements outside the main diagonal.

Let LaTeX equation be a matrix, and consider its generic entry

LaTeX equation

where LaTeX equation and LaTeX equation are the number of rows and columns of LaTeX equation, respectively.

The main diagonal of LaTeX equation is also said the diagonal of order 0, and is the collection of entries LaTeX equation such that LaTeX equation.

Hence IsDiagonal returns true if LaTeX equation and LaTeX equation whenever LaTeX equation.

See Also