DiagonalMatrixOfMatrix Method |
Create a new diagonal matrix as a copy of the given other matrix.
This new matrix will be independent from the other matrix.
The matrix to copy from must be diagonal as well.
A new memory block will be allocated for storing the matrix.
Namespace: Altaxo.Calc.LinearAlgebra.ComplexAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntaxpublic static DiagonalMatrix OfMatrix(
Matrix<Complex> matrix
)
Parameters
- matrix MatrixComplex
- The matrix to copy.
Return Value
DiagonalMatrixThe created diagonal matrix.
See Also