DurationFunctionSamplingGetFunctionSampler Method (FunctionDuration, 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.2.419.0 (24.2.419.0)
Syntax public IDurationFunctionSampler GetFunctionSampler(
Function<Duration, double> function
)
Public Function GetFunctionSampler (
function As Function(Of Duration, Double)
) As IDurationFunctionSampler
public:
IDurationFunctionSampler^ GetFunctionSampler(
Function<Duration, double>^ function
)
member GetFunctionSampler :
function : Function<Duration, float> -> IDurationFunctionSampler
Parameters
- function
- Type: AGI.FoundationFunctionDuration, Double
The function that suggests the next sample.
Return Value
Type:
IDurationFunctionSamplerA sampler.
See Also