Note: the dimension of the array
ERR
must be at least
if
, and at least
otherwise.
On exit: when
,
ERR contains measures of correctness of the respective gradients. If there is no loss of significance (see
Section 8), then if
is
the
th user-supplied gradient 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.