DoubleFunctionSampling.GetFunctionSampler Method (Function<Double, 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: 25.1.421.0 (25.1.421.0)
Syntaxpublic IDoubleFunctionSampler GetFunctionSampler(
Function<double, double> function
)
Public Function GetFunctionSampler (
function As Function(Of Double, Double)
) As IDoubleFunctionSampler
public:
IDoubleFunctionSampler^ GetFunctionSampler(
Function<double, double>^ function
)
member GetFunctionSampler :
function : Function<float, float> -> IDoubleFunctionSampler
Parameters
- function
- Type: AGI.Foundation.Function<Double, Double>
The function that suggests the next sample.
Return Value
Type:
IDoubleFunctionSamplerA sampler.
See Also