Click or drag to resize

IDurationFunctionSampler.GetNextSample 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.3.420.0 (24.3.420.0)
Syntax
Duration GetNextSample(
	Duration intervalStart,
	Duration intervalStop,
	Duration lastSample
)

Parameters

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

Return Value

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