MapackMatrixDiagonal Method |
Returns a diagonal matrix of the given size.
Namespace: Altaxo.Calc.LinearAlgebraAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntaxpublic 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
IMapackMatrixA diagonal matrix of the requested size.
See Also