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.DoubleAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntaxpublic static DiagonalMatrix OfArray(
double[,] array
)
Parameters
- array Double
- The array to copy.
Return Value
DiagonalMatrixThe created diagonal matrix.
See Also