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.3179.0 (4.8.3179.0)
Syntax
C#
public Vector<T> Sparse(
	int length,
	Func<int, T> init
)

Parameters

length  Int32

[Missing <param name="length"/> documentation for "M:Altaxo.Calc.LinearAlgebra.VectorBuilder`1.Sparse(System.Int32,System.Func{System.Int32,`0})"]

init  FuncInt32, T

[Missing <param name="init"/> documentation for "M:Altaxo.Calc.LinearAlgebra.VectorBuilder`1.Sparse(System.Int32,System.Func{System.Int32,`0})"]

Return Value

VectorT

[Missing <returns> documentation for "M:Altaxo.Calc.LinearAlgebra.VectorBuilder`1.Sparse(System.Int32,System.Func{System.Int32,`0})"]

See Also