SparseVectorCreate(Int32, FuncInt32, Single) Method |
Create a new sparse vector and initialize each value using the provided init function.
Namespace: Altaxo.Calc.LinearAlgebra.SingleAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntaxpublic static SparseVector Create(
int length,
Func<int, float> init
)
Parameters
- length Int32
- The length of the vector.
- init FuncInt32, Single
- The initializer used to populate each entry.
Return Value
SparseVectorA new sparse vector initialized by the specified function.
See Also