Click or drag to resize

SparseVectorCreate(Int32, FuncInt32, Single) Method

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

Namespace: Altaxo.Calc.LinearAlgebra.Single
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static SparseVector Create(
	int length,
	Func<int, float> init
)

Parameters

length  Int32

[Missing <param name="length"/> documentation for "M:Altaxo.Calc.LinearAlgebra.Single.SparseVector.Create(System.Int32,System.Func{System.Int32,System.Single})"]

init  FuncInt32, Single

[Missing <param name="init"/> documentation for "M:Altaxo.Calc.LinearAlgebra.Single.SparseVector.Create(System.Int32,System.Func{System.Int32,System.Single})"]

Return Value

SparseVector

[Missing <returns> documentation for "M:Altaxo.Calc.LinearAlgebra.Single.SparseVector.Create(System.Int32,System.Func{System.Int32,System.Single})"]

See Also