Click or drag to resize

DoubleMatrixIsTridiagonal Property

Gets a value indicating whether this instance is tridiagonal.

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

Property Value

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

Implements

IMatrixPatternsIsTridiagonal
Remarks

A matrix is tridiagonal if it is square and has zero entries outside its main diagonal and its first sub and super diagonals.

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.

If LaTeX equation, the matrix has LaTeX equation sub-diagonals: for LaTeX equation, the LaTeX equation-th sub-diagonal is the collection of entries corresponding to the positions

LaTeX equation

If LaTeX equation, then the matrix has LaTeX equation super-diagonals: for LaTeX equation, the LaTeX equation-th super-diagonal is the collection of entries corresponding to the positions

LaTeX equation

Hence IsTridiagonal returns true if LaTeX equation and LaTeX equation whenever LaTeX equation or LaTeX equation.

See Also