Click or drag to resize

CSequenceUnfold(Int32, Complex, FuncComplex, Complex) Method

Creates a sequence by unfolding an initial state by a function.

Namespace: Austra.Library
Assembly: Austra.Library (in Austra.Library.dll) Version: 2.8.0+77a1ed58155f905ef6d88f42ae024582c7e1b4c3
Syntax
C#
public static CSequence Unfold(
	int size,
	Complex seed,
	Func<Complex, Complex> unfold
)

Parameters

size  Int32
The size of the sequence.
seed  Complex
First value in the sequence.
unfold  FuncComplex, Complex
The generating function.

Return Value

CSequence
The sequence unfolded from the initial state and the function.
See Also