Diagonal Matrix<T>.Diagonal Index Property
Gets the index of the nonzero diagonal of this DiagonalMatrix<T>.
Definition
Namespace: Numerics.NET.LinearAlgebra
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
C#
The distance of the nonzero diagonal of the DiagonalMatrix<T> from the main diagonal.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
public int DiagonalIndex { get; }
Property Value
Int32The 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.