Click or drag to resize

DiagonalMatrixOfDiagonal Method

Create a new diagonal matrix and initialize each diagonal value from the provided enumerable. This new matrix will be independent from the enumerable. A new memory block will be allocated for storing the matrix.

Namespace: Altaxo.Calc.LinearAlgebra.Double
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static DiagonalMatrix OfDiagonal(
	int rows,
	int columns,
	IEnumerable<double> diagonal
)

Parameters

rows  Int32

[Missing <param name="rows"/> documentation for "M:Altaxo.Calc.LinearAlgebra.Double.DiagonalMatrix.OfDiagonal(System.Int32,System.Int32,System.Collections.Generic.IEnumerable{System.Double})"]

columns  Int32

[Missing <param name="columns"/> documentation for "M:Altaxo.Calc.LinearAlgebra.Double.DiagonalMatrix.OfDiagonal(System.Int32,System.Int32,System.Collections.Generic.IEnumerable{System.Double})"]

diagonal  IEnumerableDouble

[Missing <param name="diagonal"/> documentation for "M:Altaxo.Calc.LinearAlgebra.Double.DiagonalMatrix.OfDiagonal(System.Int32,System.Int32,System.Collections.Generic.IEnumerable{System.Double})"]

Return Value

DiagonalMatrix

[Missing <returns> documentation for "M:Altaxo.Calc.LinearAlgebra.Double.DiagonalMatrix.OfDiagonal(System.Int32,System.Int32,System.Collections.Generic.IEnumerable{System.Double})"]

See Also