EndCriteriaCheckGradientEpsilon Method |
Checks whether the norm of the gradient is less than the gradient epsilon.
Namespace: Altaxo.Calc.OptimizationAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3448.0 (4.8.3448.0)
Syntaxpublic bool CheckGradientEpsilon(
double normDiff
)
Parameters
- normDiff Double
- The gradient norm (or a measure of the gradient magnitude).
Return Value
Boolean if the criterion is met; otherwise,
.
Remarks
If the gradient norm is less than the gradient epsilon, the ending criterion is set to CriteriaType.GradientEpsilon
and the method returns .
See Also