Click or drag to resize

SparseMatrixCreateDiagonal(Int32, Int32, FuncInt32, Double) Method

Create a new diagonal sparse matrix and initialize each diagonal value using the provided init function.

Namespace: Altaxo.Calc.LinearAlgebra.Double
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static SparseMatrix CreateDiagonal(
	int rows,
	int columns,
	Func<int, double> init
)

Parameters

rows  Int32

[Missing <param name="rows"/> documentation for "M:Altaxo.Calc.LinearAlgebra.Double.SparseMatrix.CreateDiagonal(System.Int32,System.Int32,System.Func{System.Int32,System.Double})"]

columns  Int32

[Missing <param name="columns"/> documentation for "M:Altaxo.Calc.LinearAlgebra.Double.SparseMatrix.CreateDiagonal(System.Int32,System.Int32,System.Func{System.Int32,System.Double})"]

init  FuncInt32, Double

[Missing <param name="init"/> documentation for "M:Altaxo.Calc.LinearAlgebra.Double.SparseMatrix.CreateDiagonal(System.Int32,System.Int32,System.Func{System.Int32,System.Double})"]

Return Value

SparseMatrix

[Missing <returns> documentation for "M:Altaxo.Calc.LinearAlgebra.Double.SparseMatrix.CreateDiagonal(System.Int32,System.Int32,System.Func{System.Int32,System.Double})"]

See Also