SparseCompressedRowMatrixStorageTOfInit Method |
Creates a sparse compressed-row matrix storage initialized by an index-based initializer.
Namespace: Altaxo.Calc.LinearAlgebra.StorageAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntaxpublic static SparseCompressedRowMatrixStorage<T> OfInit(
int rows,
int columns,
Func<int, int, T> init
)
Parameters
- rows Int32
- The number of rows.
- columns Int32
- The number of columns.
- init FuncInt32, Int32, T
- The initializer used to populate matrix entries.
Return Value
SparseCompressedRowMatrixStorageTThe initialized sparse matrix storage.
See Also