.TH "TESTING/EIG/sckgsv.f" 3 "Version 3.12.0" "LAPACK" \" -*- nroff -*- .ad l .nh .SH NAME TESTING/EIG/sckgsv.f .SH SYNOPSIS .br .PP .SS "Functions/Subroutines" .in +1c .ti -1c .RI "subroutine \fBsckgsv\fP (nm, mval, pval, nval, nmats, iseed, thresh, nmax, a, af, b, bf, u, v, q, alpha, beta, r, iwork, work, rwork, nin, nout, info)" .br .RI "\fBSCKGSV\fP " .in -1c .SH "Function/Subroutine Documentation" .PP .SS "subroutine sckgsv (integer nm, integer, dimension( * ) mval, integer, dimension( * ) pval, integer, dimension( * ) nval, integer nmats, integer, dimension( 4 ) iseed, real thresh, integer nmax, real, dimension( * ) a, real, dimension( * ) af, real, dimension( * ) b, real, dimension( * ) bf, real, dimension( * ) u, real, dimension( * ) v, real, dimension( * ) q, real, dimension( * ) alpha, real, dimension( * ) beta, real, dimension( * ) r, integer, dimension( * ) iwork, real, dimension( * ) work, real, dimension( * ) rwork, integer nin, integer nout, integer info)" .PP \fBSCKGSV\fP .PP \fBPurpose:\fP .RS 4 .PP .nf SCKGSV tests SGGSVD: the GSVD for M-by-N matrix A and P-by-N matrix B\&. .fi .PP .RE .PP \fBParameters\fP .RS 4 \fINM\fP .PP .nf NM is INTEGER The number of values of M contained in the vector MVAL\&. .fi .PP .br \fIMVAL\fP .PP .nf MVAL is INTEGER array, dimension (NM) The values of the matrix row dimension M\&. .fi .PP .br \fIPVAL\fP .PP .nf PVAL is INTEGER array, dimension (NP) The values of the matrix row dimension P\&. .fi .PP .br \fINVAL\fP .PP .nf NVAL is INTEGER array, dimension (NN) The values of the matrix column dimension N\&. .fi .PP .br \fINMATS\fP .PP .nf NMATS is 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\&. .fi .PP .br \fIISEED\fP .PP .nf ISEED is 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\&. .fi .PP .br \fITHRESH\fP .PP .nf THRESH is 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\&. .fi .PP .br \fINMAX\fP .PP .nf NMAX is INTEGER The maximum value permitted for M or N, used in dimensioning the work arrays\&. .fi .PP .br \fIA\fP .PP .nf A is REAL array, dimension (NMAX*NMAX) .fi .PP .br \fIAF\fP .PP .nf AF is REAL array, dimension (NMAX*NMAX) .fi .PP .br \fIB\fP .PP .nf B is REAL array, dimension (NMAX*NMAX) .fi .PP .br \fIBF\fP .PP .nf BF is REAL array, dimension (NMAX*NMAX) .fi .PP .br \fIU\fP .PP .nf U is REAL array, dimension (NMAX*NMAX) .fi .PP .br \fIV\fP .PP .nf V is REAL array, dimension (NMAX*NMAX) .fi .PP .br \fIQ\fP .PP .nf Q is REAL array, dimension (NMAX*NMAX) .fi .PP .br \fIALPHA\fP .PP .nf ALPHA is REAL array, dimension (NMAX) .fi .PP .br \fIBETA\fP .PP .nf BETA is REAL array, dimension (NMAX) .fi .PP .br \fIR\fP .PP .nf R is REAL array, dimension (NMAX*NMAX) .fi .PP .br \fIIWORK\fP .PP .nf IWORK is INTEGER array, dimension (NMAX) .fi .PP .br \fIWORK\fP .PP .nf WORK is REAL array, dimension (NMAX*NMAX) .fi .PP .br \fIRWORK\fP .PP .nf RWORK is REAL array, dimension (NMAX) .fi .PP .br \fININ\fP .PP .nf NIN is INTEGER The unit number for input\&. .fi .PP .br \fINOUT\fP .PP .nf NOUT is INTEGER The unit number for output\&. .fi .PP .br \fIINFO\fP .PP .nf INFO is INTEGER = 0 : successful exit > 0 : If SLATMS returns an error code, the absolute value of it is returned\&. .fi .PP .RE .PP \fBAuthor\fP .RS 4 Univ\&. of Tennessee .PP Univ\&. of California Berkeley .PP Univ\&. of Colorado Denver .PP NAG Ltd\&. .RE .PP .PP Definition at line \fB195\fP of file \fBsckgsv\&.f\fP\&. .SH "Author" .PP Generated automatically by Doxygen for LAPACK from the source code\&.