Click or drag to resize

MatrixTDiagonal Method

Returns the elements of the diagonal in a Vector.

Namespace: Altaxo.Calc.LinearAlgebra
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public virtual Vector<T> Diagonal()

Return Value

VectorT
The elements of the diagonal.
Remarks
For non-square matrices, the method returns Min(Rows, Columns) elements where i == j (i is the row index, and j is the column index).
See Also