Click or drag to resize

DiagonalMatrix(Int32, Int32, Complex) Constructor

Create a new diagonal matrix with the given number of rows and columns. All diagonal cells of the matrix will be initialized to the provided value, all non-diagonal ones to zero.

Namespace: Altaxo.Calc.LinearAlgebra.Complex
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public DiagonalMatrix(
	int rows,
	int columns,
	Complex diagonalValue
)

Parameters

rows  Int32
The number of rows.
columns  Int32
The number of columns.
diagonalValue  Complex
The value assigned to each diagonal element.
Exceptions
ExceptionCondition
ArgumentExceptionIf the row or column count is less than one.
See Also