Click or drag to resize

CSequenceUnfold(Int32, Complex, Complex, FuncComplex, Complex, 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.5.0+44e7797405725ef3cf24b3ff0eba94ce6c649601
Syntax
C#
public static CSequence Unfold(
	int size,
	Complex first,
	Complex second,
	Func<Complex, Complex, Complex> unfold
)

Parameters

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

Return Value

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