SparseVectorStorageTOfInit Method |
Creates a sparse vector 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 SparseVectorStorage<T> OfInit(
int length,
Func<int, T> init
)
Parameters
- length Int32
- The vector length.
- init FuncInt32, T
- The initializer function.
Return Value
SparseVectorStorageTThe initialized sparse vector storage.
See Also