Click or drag to resize

DiagonalMatrixOfIndexedDiagonal(Int32, Int32, IEnumerableValueTupleInt32, Double) Method

Create a new diagonal matrix and initialize each diagonal value from the provided indexed enumerable. Keys must be provided at most once, zero is assumed if a key is omitted. 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 OfIndexedDiagonal(
	int rows,
	int columns,
	IEnumerable<(int , double )> diagonal
)

Parameters

rows  Int32

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

columns  Int32

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

diagonal  IEnumerableValueTupleInt32, Double

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

Return Value

DiagonalMatrix

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

See Also