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.3.420.0 (24.3.420.0)
Syntax protected double AdjustStep(
double step,
double errorRatio
)
Protected Function AdjustStep (
step As Double,
errorRatio As Double
) As Double
protected:
double AdjustStep(
double step,
double errorRatio
)
member AdjustStep :
step : float *
errorRatio : float -> float
Parameters
- step
- Type: SystemDouble
The size of the step to adjust. - errorRatio
- Type: SystemDouble
The error ratio factor.
Return Value
Type:
DoubleThe new size of the step.
See Also