CCKGSV

   Univ. of Tennessee, Univ. of California Berkeley and NAG Ltd..
   November 2006

Purpose

CCKGSV tests CGGSVD:
       the GSVD for M-by-N matrix A and P-by-N matrix B.

Arguments

NM
(input) INTEGER
The number of values of M contained in the vector MVAL.
MVAL
(input) INTEGER array, dimension (NM)
The values of the matrix row dimension M.
PVAL
(input) INTEGER array, dimension (NP)
The values of the matrix row dimension P.
NVAL
(input) INTEGER array, dimension (NN)
The values of the matrix column dimension N.
NMATS
(input) INTEGER
The number of matrix types to be tested for each combination
of matrix dimensions.  If NMATS >= NTYPES (the maximum
number of matrix types), then all the different types are
generated for testing.  If NMATS < NTYPES, another input line
is read to get the numbers of the matrix types to be used.
ISEED
(input/output) INTEGER array, dimension (4)
On entry, the seed of the random number generator.  The array
elements should be between 0 and 4095, otherwise they will be
reduced mod 4096, and ISEED(4) must be odd.
On exit, the next seed in the random number sequence after
all the test matrices have been generated.
THRESH
(input) REAL
The threshold value for the test ratios.  A result is
included in the output file if RESULT >= THRESH.  To have
every test ratio printed, use THRESH = 0.
NMAX
(input) INTEGER
The maximum value permitted for M or N, used in dimensioning
the work arrays.
A
(workspace) COMPLEX array, dimension (NMAX*NMAX)
AF
(workspace) COMPLEX array, dimension (NMAX*NMAX)
B
(workspace) COMPLEX array, dimension (NMAX*NMAX)
BF
(workspace) COMPLEX array, dimension (NMAX*NMAX)
U
(workspace) COMPLEX array, dimension (NMAX*NMAX)
V
(workspace) COMPLEX array, dimension (NMAX*NMAX)
Q
(workspace) COMPLEX array, dimension (NMAX*NMAX)
ALPHA
(workspace) REAL array, dimension (NMAX)
BETA
(workspace) REAL array, dimension (NMAX)
R
(workspace) COMPLEX array, dimension (NMAX*NMAX)
IWORK
(workspace) INTEGER array, dimension (NMAX)
WORK
(workspace) COMPLEX array, dimension (NMAX*NMAX)
RWORK
(workspace) REAL array, dimension (NMAX)
NIN
(input) INTEGER
The unit number for input.
NOUT
(input) INTEGER
The unit number for output.
INFO
(output) INTEGER
= 0 :  successful exit
> 0 :  If CLATMS returns an error code, the absolute value
       of it is returned.

Call Graph

Caller Graph