Click or drag to resize

MapackMatrixDiagonal Method

Returns a diagonal matrix of the given size.

Namespace: Altaxo.Calc.LinearAlgebra
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public static IMapackMatrix Diagonal(
	int rows,
	int columns,
	double value
)

Parameters

rows  Int32
The number of rows.
columns  Int32
The number of columns.
value  Double
The value to assign to the diagonal elements.

Return Value

IMapackMatrix
A diagonal matrix of the requested size.
See Also