Click or drag to resize

DateSequenceUnfold(Int32, Date, FuncDate, Date) 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+892c66cd78254e5a7ad663c063da400b3042cf5b
Syntax
C#
public static DateSequence Unfold(
	int size,
	Date seed,
	Func<Date, Date> unfold
)

Parameters

size  Int32
The size of the sequence.
seed  Date
First value in the sequence.
unfold  FuncDate, Date
The generating function.

Return Value

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