Click or drag to resize

IDoubleFunctionSamplerGetNextSample Method

Gets the next Variable at which to sample the function.

Namespace:  AGI.Foundation.NumericalMethods.Advanced
Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 21.1.408.0 (21.1.408.0)
Syntax
double GetNextSample(
	double intervalStart,
	double intervalStop,
	double lastSample
)

Parameters

intervalStart
Type: SystemDouble
The beginning of the overall interval being evaluated.
intervalStop
Type: SystemDouble
The end of the overall interval being evaluated.
lastSample
Type: SystemDouble
The previous Variable at which the function was sampled.

Return Value

Type: Double
The next Variable at which to sample the function.
See Also