Click or drag to resize

DoubleFunctionSamplingGetFunctionSampler Method (FunctionDouble, Double)

Creates a sampler that takes a step suggested by a given function, or the DefaultStep if not step is suggested.

Namespace:  AGI.Foundation.NumericalMethods
Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.1.418.0 (24.1.418.0)
Syntax
public IDoubleFunctionSampler GetFunctionSampler(
	Function<double, double> function
)

Parameters

function
Type: AGI.FoundationFunctionDouble, Double
The function that suggests the next sample.

Return Value

Type: IDoubleFunctionSampler
A sampler.
See Also