Click or drag to resize

AdaptiveNumericalIntegratorAdjustStep Method

Adjusts a given step by increasing it or decreasing it based on the given error. If the error is greater than one, the step will increase. Otherwise, it will decrease. After adjusting the step, BoundAndTruncateStepSize(Double) is called.

Namespace:  AGI.Foundation.NumericalMethods.Advanced
Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax
protected double AdjustStep(
	double step,
	double errorRatio
)

Parameters

step
Type: SystemDouble
The size of the step to adjust.
errorRatio
Type: SystemDouble
The error ratio factor.

Return Value

Type: Double
The new size of the step.
See Also