CSequenceUnfold(Int32, Complex, FuncInt32, Complex, Complex) Method |
Creates a sequence by unfolding an initial state by a function.
Namespace: Austra.LibraryAssembly: Austra.Library (in Austra.Library.dll) Version: 2.8.0+e1037fa8802b3ff162e26559d763b73334940b70
Syntaxpublic static CSequence Unfold(
int size,
Complex seed,
Func<int, Complex, Complex> unfold
)
Parameters
- size Int32
- The size of the sequence.
- seed Complex
- First value in the sequence.
- unfold FuncInt32, Complex, Complex
- The generating function.
Return Value
CSequenceThe sequence unfolded from the initial state and the function.
See Also