DSequenceUnfold(Int32, Double, FuncInt32, 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.5.0+44e7797405725ef3cf24b3ff0eba94ce6c649601
public static DSequence Unfold(
int size,
double seed,
Func<int, double, double> unfold
)
- size Int32
- The size of the sequence.
- seed Double
- First value in the sequence.
- unfold FuncInt32, Double, Double
- The generating function.
DSequenceThe sequence unfolded from the initial state and the function.