Click or drag to resize

DateSequenceUnfold(Int32, Date, Date, FuncDate, Date, 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.7.0+b25929339ea1019e260029cf0ebd18b3a0ce2443
Syntax
C#
public static DateSequence Unfold(
	int size,
	Date first,
	Date second,
	Func<Date, Date, Date> unfold
)

Parameters

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

Return Value

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