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.ComplexAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntaxpublic 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
See Also