Initializing help system before first use

XSLP_CDTOL_R

Description
Relative tolerance for deducing constant derivatives
Type
Double
Default value
1.0e-08
Note

The relative tolerance test for constant derivatives is used as follows:
If the value of the user function at point X0 is Y0 and the values at (X0-δX) and (X0+δX) are Yd and Yu respectively, then the numerical derivatives at X0 are:
"down" derivative Dd = (Y0 - Yd) / δX
"up" derivative Du = (Yu - Y0) / δX

If abs(Dd-Du) ≤ XSLP_CDTOL_R * abs(Yd+Yu)/2
then the derivative is regarded as constant.

See also