.TH "SRC/DEPRECATED/zgeqrs.f" 3 "Version 3.12.0" "LAPACK" \" -*- nroff -*- .ad l .nh .SH NAME SRC/DEPRECATED/zgeqrs.f .SH SYNOPSIS .br .PP .SS "Functions/Subroutines" .in +1c .ti -1c .RI "subroutine \fBzgeqrs\fP (m, n, nrhs, a, lda, tau, b, ldb, work, lwork, info)" .br .RI "\fBZGEQRS\fP " .in -1c .SH "Function/Subroutine Documentation" .PP .SS "subroutine zgeqrs (integer m, integer n, integer nrhs, complex*16, dimension( lda, * ) a, integer lda, complex*16, dimension( * ) tau, complex*16, dimension( ldb, * ) b, integer ldb, complex*16, dimension( lwork ) work, integer lwork, integer info)" .PP \fBZGEQRS\fP .PP \fBPurpose:\fP .RS 4 .PP .nf Solve the least squares problem min || A*X - B || using the QR factorization A = Q*R computed by ZGEQRF\&. .fi .PP .RE .PP \fBParameters\fP .RS 4 \fIM\fP .PP .nf M is INTEGER The number of rows of the matrix A\&. M >= 0\&. .fi .PP .br \fIN\fP .PP .nf N is INTEGER The number of columns of the matrix A\&. M >= N >= 0\&. .fi .PP .br \fINRHS\fP .PP .nf NRHS is INTEGER The number of columns of B\&. NRHS >= 0\&. .fi .PP .br \fIA\fP .PP .nf A is COMPLEX*16 array, dimension (LDA,N) Details of the QR factorization of the original matrix A as returned by ZGEQRF\&. .fi .PP .br \fILDA\fP .PP .nf LDA is INTEGER The leading dimension of the array A\&. LDA >= M\&. .fi .PP .br \fITAU\fP .PP .nf TAU is COMPLEX*16 array, dimension (N) Details of the orthogonal matrix Q\&. .fi .PP .br \fIB\fP .PP .nf B is COMPLEX*16 array, dimension (LDB,NRHS) On entry, the m-by-nrhs right hand side matrix B\&. On exit, the n-by-nrhs solution matrix X\&. .fi .PP .br \fILDB\fP .PP .nf LDB is INTEGER The leading dimension of the array B\&. LDB >= M\&. .fi .PP .br \fIWORK\fP .PP .nf WORK is COMPLEX*16 array, dimension (LWORK) .fi .PP .br \fILWORK\fP .PP .nf LWORK is INTEGER The length of the array WORK\&. LWORK must be at least NRHS, and should be at least NRHS*NB, where NB is the block size for this environment\&. .fi .PP .br \fIINFO\fP .PP .nf INFO is INTEGER = 0: successful exit < 0: if INFO = -i, the i-th argument had an illegal value .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 \fB119\fP of file \fBzgeqrs\&.f\fP\&. .SH "Author" .PP Generated automatically by Doxygen for LAPACK from the source code\&.