Click or drag to resize

IDurationFunctionSamplerGetNextSample Method

Gets the next duration at which to sample the function.

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

Parameters

intervalStart
Type: AGI.Foundation.TimeDuration
The beginning of the overall interval being evaluated.
intervalStop
Type: AGI.Foundation.TimeDuration
The end of the overall interval being evaluated.
lastSample
Type: AGI.Foundation.TimeDuration
The previous duration at which the function was sampled.

Return Value

Type: Duration
The next duration at which to sample the function.
See Also