On exit: if
,
err contains measures of correctness of the respective gradients. If
,
err is undefined. If there is no loss of significance (see
Section 7), then if
is
the
th user-supplied gradient
, for
is correct, whilst if
is
the
th gradient is incorrect. For values of
between
and
the categorisation is less certain. In general, a value of
indicates that the
th gradient is probably correct.