.TH "TESTING/LIN/cdrvls.f" 3 "Version 3.12.0" "LAPACK" \" -*- nroff -*- .ad l .nh .SH NAME TESTING/LIN/cdrvls.f .SH SYNOPSIS .br .PP .SS "Functions/Subroutines" .in +1c .ti -1c .RI "subroutine \fBcdrvls\fP (dotype, nm, mval, nn, nval, nns, nsval, nnb, nbval, nxval, thresh, tsterr, a, copya, b, copyb, c, s, copys, nout)" .br .RI "\fBCDRVLS\fP " .in -1c .SH "Function/Subroutine Documentation" .PP .SS "subroutine cdrvls (logical, dimension( * ) dotype, integer nm, integer, dimension( * ) mval, integer nn, integer, dimension( * ) nval, integer nns, integer, dimension( * ) nsval, integer nnb, integer, dimension( * ) nbval, integer, dimension( * ) nxval, real thresh, logical tsterr, complex, dimension( * ) a, complex, dimension( * ) copya, complex, dimension( * ) b, complex, dimension( * ) copyb, complex, dimension( * ) c, real, dimension( * ) s, real, dimension( * ) copys, integer nout)" .PP \fBCDRVLS\fP .PP \fBPurpose:\fP .RS 4 .PP .nf CDRVLS tests the least squares driver routines CGELS, CGELST, CGETSLS, CGELSS, CGELSY and CGELSD\&. .fi .PP .RE .PP \fBParameters\fP .RS 4 \fIDOTYPE\fP .PP .nf DOTYPE is LOGICAL array, dimension (NTYPES) The matrix types to be used for testing\&. Matrices of type j (for 1 <= j <= NTYPES) are used for testing if DOTYPE(j) = \&.TRUE\&.; if DOTYPE(j) = \&.FALSE\&., then type j is not used\&. The matrix of type j is generated as follows: j=1: A = U*D*V where U and V are random unitary matrices and D has random entries (> 0\&.1) taken from a uniform distribution (0,1)\&. A is full rank\&. j=2: The same of 1, but A is scaled up\&. j=3: The same of 1, but A is scaled down\&. j=4: A = U*D*V where U and V are random unitary matrices and D has 3*min(M,N)/4 random entries (> 0\&.1) taken from a uniform distribution (0,1) and the remaining entries set to 0\&. A is rank-deficient\&. j=5: The same of 4, but A is scaled up\&. j=6: The same of 5, but A is scaled down\&. .fi .PP .br \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 \fINN\fP .PP .nf NN is INTEGER The number of values of N contained in the vector NVAL\&. .fi .PP .br \fINVAL\fP .PP .nf NVAL is INTEGER array, dimension (NN) The values of the matrix column dimension N\&. .fi .PP .br \fINNB\fP .PP .nf NNB is INTEGER The number of values of NB and NX contained in the vectors NBVAL and NXVAL\&. The blocking parameters are used in pairs (NB,NX)\&. .fi .PP .br \fINBVAL\fP .PP .nf NBVAL is INTEGER array, dimension (NNB) The values of the blocksize NB\&. .fi .PP .br \fINXVAL\fP .PP .nf NXVAL is INTEGER array, dimension (NNB) The values of the crossover point NX\&. .fi .PP .br \fINNS\fP .PP .nf NNS is INTEGER The number of values of NRHS contained in the vector NSVAL\&. .fi .PP .br \fINSVAL\fP .PP .nf NSVAL is INTEGER array, dimension (NNS) The values of the number of right hand sides NRHS\&. .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 \fITSTERR\fP .PP .nf TSTERR is LOGICAL Flag that indicates whether error exits are to be tested\&. .fi .PP .br \fIA\fP .PP .nf A is COMPLEX array, dimension (MMAX*NMAX) where MMAX is the maximum value of M in MVAL and NMAX is the maximum value of N in NVAL\&. .fi .PP .br \fICOPYA\fP .PP .nf COPYA is COMPLEX array, dimension (MMAX*NMAX) .fi .PP .br \fIB\fP .PP .nf B is COMPLEX array, dimension (MMAX*NSMAX) where MMAX is the maximum value of M in MVAL and NSMAX is the maximum value of NRHS in NSVAL\&. .fi .PP .br \fICOPYB\fP .PP .nf COPYB is COMPLEX array, dimension (MMAX*NSMAX) .fi .PP .br \fIC\fP .PP .nf C is COMPLEX array, dimension (MMAX*NSMAX) .fi .PP .br \fIS\fP .PP .nf S is REAL array, dimension (min(MMAX,NMAX)) .fi .PP .br \fICOPYS\fP .PP .nf COPYS is REAL array, dimension (min(MMAX,NMAX)) .fi .PP .br \fINOUT\fP .PP .nf NOUT is INTEGER The unit number for output\&. .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 \fB190\fP of file \fBcdrvls\&.f\fP\&. .SH "Author" .PP Generated automatically by Doxygen for LAPACK from the source code\&.