Click or drag to resize

DiagonalMatrixDiagonal Method

Returns the elements of the diagonal in a DenseVector.

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

Return Value

VectorDouble
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