Click or drag to resize

SparseCompressedRowMatrixStorageTOfDiagonalInit Method

Creates a sparse compressed-row matrix storage with initialized diagonal entries.

Namespace: Altaxo.Calc.LinearAlgebra.Storage
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public static SparseCompressedRowMatrixStorage<T> OfDiagonalInit(
	int rows,
	int columns,
	Func<int, T> init
)

Parameters

rows  Int32
The number of rows.
columns  Int32
The number of columns.
init  FuncInt32, T
The initializer used to populate diagonal entries.

Return Value

SparseCompressedRowMatrixStorageT
The initialized sparse matrix storage.
See Also