Click or drag to resize

EndCriteriaCheckStationaryGradient Method

Checks whether the gradient changed by less than the gradient epsilon.

Namespace: Altaxo.Calc.Optimization
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3448.0 (4.8.3448.0)
Syntax
C#
public bool CheckStationaryGradient(
	double gold,
	double gnew
)

Parameters

gold  Double
The previous gradient measure.
gnew  Double
The current gradient measure.

Return Value

Boolean
if the criterion is met; otherwise, .
Remarks
If the change in the gradient is less than the gradient epsilon, a possible stationary gradient has been found. If the number of repeated iterations at this possible stationary gradient exceeds the maximum, the ending criterion is set to CriteriaType.StationaryGradient and the method returns .
See Also