F01KBF computes an estimate of the absolute condition number of a matrix function at a complex by matrix in the -norm. Numerical differentiation is used to evaluate the derivatives of when they are required.
The absolute condition number of
at
,
is given by the norm of the Fréchet derivative of
,
, which is defined by
The Fréchet derivative in the direction
,
is linear in
and can therefore be written as
where the
operator stacks the columns of a matrix into one vector, so that
is
. F01KBF computes an estimate
such that
, where
. The relative condition number can then be computed via
The algorithm used to find
is detailed in Section 3.4 of
Higham (2008).
The function
is supplied via subroutine
F which evaluates
at a number of points
.
If on entry
or
, explanatory error messages are output on the current error message unit (as defined by
X04AAF).
F01KBF uses the norm estimation routine
F04YDF to estimate a quantity
, where
and
. For further details on the accuracy of norm estimation, see the documentation for
F04ZDF.
Approximately
of complex allocatable memory is required by the routine, in addition to the memory used by the underlying matrix function routine
F01FLF.
F01KBF returns the matrix function
. This is computed using
F01FLF. If only
is required, without an estimate of the condition number, then it is far more efficient to use
F01FLF directly.
The real analogue of this routine is
F01JBF.
This example estimates the absolute and relative condition numbers of the matrix function
where