Click or drag to resize

SparseVectorCreate(Int32, FuncInt32, Complex) Method

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

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

Parameters

length  Int32
The length of the vector.
init  FuncInt32, Complex
The initializer used to populate each entry.

Return Value

SparseVector
A sparse vector initialized by init.
See Also