SparseCompressedRowMatrixStorageTOfDiagonalInit Method |
Creates a sparse compressed-row matrix storage with initialized diagonal entries.
Namespace: Altaxo.Calc.LinearAlgebra.StorageAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntaxpublic 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
SparseCompressedRowMatrixStorageTThe initialized sparse matrix storage.
See Also