SGET35
   Univ. of Tennessee, Univ. of California Berkeley and NAG Ltd..
November 2006
November 2006
Purpose
SGET35 tests STRSYL, a routine for solving the Sylvester matrix
equation
op(A)*X + ISGN*X*op(B) = scale*C,
A and B are assumed to be in Schur canonical form, op() represents an
optional transpose, and ISGN can be -1 or +1. Scale is an output
less than or equal to 1, chosen to avoid overflow in X.
The test code verifies that the following residual is order 1:
norm(op(A)*X + ISGN*X*op(B) - scale*C) /
(EPS*max(norm(A),norm(B))*norm(X))
equation
op(A)*X + ISGN*X*op(B) = scale*C,
A and B are assumed to be in Schur canonical form, op() represents an
optional transpose, and ISGN can be -1 or +1. Scale is an output
less than or equal to 1, chosen to avoid overflow in X.
The test code verifies that the following residual is order 1:
norm(op(A)*X + ISGN*X*op(B) - scale*C) /
(EPS*max(norm(A),norm(B))*norm(X))
Arguments
| RMAX | 
 
(output) REAL
 
Value of the largest test ratio. 
 | 
| LMAX | 
 
(output) INTEGER
 
Example number where largest test ratio achieved. 
 | 
| NINFO | 
 
(output) INTEGER
 
Number of examples where INFO is nonzero. 
 | 
| KNT | 
 
(output) INTEGER
 
Total number of examples tested. 
 |