Click or drag to resize

GenerateUnfoldT, TState(Int32, FuncTState, TupleT, TState, TState) Method

Generate samples 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 T[] Unfold<T, TState>(
	int length,
	Func<TState, Tuple<T, TState>> f,
	TState state
)

Parameters

length  Int32

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

f  FuncTState, TupleT, TState

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

state  TState

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

Type Parameters

T

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

TState

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

Return Value

T

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

See Also