Click or drag to resize

GenerateUnfoldSequenceT, TState(FuncTState, ValueTupleT, TState, TState) Method

Generate an infinite sequence generated by the given computation.

Namespace: Altaxo.Calc
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static IEnumerable<T> UnfoldSequence<T, TState>(
	Func<TState, (T , TState )> f,
	TState state
)

Parameters

f  FuncTState, ValueTupleT, TState

[Missing <param name="f"/> documentation for "M:Altaxo.Calc.Generate.UnfoldSequence``2(System.Func{``1,System.ValueTuple{``0,``1}},``1)"]

state  TState

[Missing <param name="state"/> documentation for "M:Altaxo.Calc.Generate.UnfoldSequence``2(System.Func{``1,System.ValueTuple{``0,``1}},``1)"]

Type Parameters

T

[Missing <typeparam name="T"/> documentation for "M:Altaxo.Calc.Generate.UnfoldSequence``2(System.Func{``1,System.ValueTuple{``0,``1}},``1)"]

TState

[Missing <typeparam name="TState"/> documentation for "M:Altaxo.Calc.Generate.UnfoldSequence``2(System.Func{``1,System.ValueTuple{``0,``1}},``1)"]

Return Value

IEnumerableT

[Missing <returns> documentation for "M:Altaxo.Calc.Generate.UnfoldSequence``2(System.Func{``1,System.ValueTuple{``0,``1}},``1)"]

See Also