DiagonalMatrixOfArray Method |
Create a new diagonal matrix as a copy of the given two-dimensional array.
This new matrix will be independent from the provided array.
The array to copy from must be diagonal as well.
A new memory block will be allocated for storing the matrix.
Namespace: Altaxo.Calc.LinearAlgebra.SingleAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntaxpublic static DiagonalMatrix OfArray(
float[,] array
)
Parameters
- array Single
- The array to copy.
Return Value
DiagonalMatrixA diagonal matrix copied from
array.
See Also