Click or drag to resize

VectorBuilderTSparse(Int32, FuncInt32, T) Method

Create a new sparse vector and initialize each value using the provided init function.

Namespace: Altaxo.Calc.LinearAlgebra
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public Vector<T> Sparse(
	int length,
	Func<int, T> init
)

Parameters

length  Int32
The length of the vector.
init  FuncInt32, T
The initialization function.

Return Value

VectorT
The created vector.
See Also