Click or drag to resize

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.Double
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public static DiagonalMatrix OfArray(
	double[,] array
)

Parameters

array  Double
The array to copy.

Return Value

DiagonalMatrix
The created diagonal matrix.
See Also