DSequenceUnfold(Int32, Double, Double, FuncDouble, Double, Double) 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+892c66cd78254e5a7ad663c063da400b3042cf5b
Syntaxpublic static DSequence Unfold(
int size,
double first,
double second,
Func<double, double, double> unfold
)
Parameters
- size Int32
- The size of the sequence.
- first Double
- First value in the sequence.
- second Double
- Second value in the sequence.
- unfold FuncDouble, Double, Double
- The generating function.
Return Value
DSequenceThe sequence unfolded from the initial state and the function.
See Also