DiagonalMatrix<T>.DiagonalIndex Property

Gets the index of the nonzero diagonal of this DiagonalMatrix<T>.

Definition

Namespace: Extreme.Mathematics.LinearAlgebra
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
public int DiagonalIndex { get; }

Property Value

Int32
The distance of the nonzero diagonal of the DiagonalMatrix<T> from the main diagonal.

Remarks

Diagonals below the main diagonal have a negative index. Diagonals above the main diagonal have a positive index. The main diagonal itself has index zero.

See Also