F07AFF (DGEEQU) computes the diagonal scaling matrices. The diagonal scaling matrices are chosen to try to make the elements of largest absolute value in each row and column of the matrix
given by
have absolute value
. The diagonal elements of
and
are restricted to lie in the safe range
, where
is the value returned by routine
X02AMF. Use of these scaling factors is not guaranteed to reduce the condition number of
but works well in practice.
None.
The computed scale factors will be close to the exact scale factors.
The complex analogue of this routine is
F07ATF (ZGEEQU).
This example equilibrates the general matrix
given by
Details of the scaling factors, and the scaled matrix are output.