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: 21.2.409.0 (21.2.409.0)
protected double AdjustStep(
	double step,
	double errorRatio


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

Return Value

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