SUBROUTINE DTZRZF( M, N, A, LDA, TAU, WORK, LWORK, INFO) INTEGER M, N, LDA, LWORK, INFO DOUBLE PRECISION A(LDA,*), TAU(*), WORK(*) SUBROUTINE DTZRZF_64( M, N, A, LDA, TAU, WORK, LWORK, INFO) INTEGER*8 M, N, LDA, LWORK, INFO DOUBLE PRECISION A(LDA,*), TAU(*), WORK(*)
SUBROUTINE TZRZF( [M], [N], A, [LDA], TAU, [WORK], [LWORK], [INFO]) INTEGER :: M, N, LDA, LWORK, INFO REAL(8), DIMENSION(:) :: TAU, WORK REAL(8), DIMENSION(:,:) :: A SUBROUTINE TZRZF_64( [M], [N], A, [LDA], TAU, [WORK], [LWORK], [INFO]) INTEGER(8) :: M, N, LDA, LWORK, INFO REAL(8), DIMENSION(:) :: TAU, WORK REAL(8), DIMENSION(:,:) :: A
void dtzrzf(int m, int n, double *a, int lda, double *tau, int *info);
void dtzrzf_64(long m, long n, double *a, long lda, double *tau, long *info);
The upper trapezoidal matrix A is factored as
A = ( R 0 ) * Z,
where Z is an N-by-N orthogonal matrix and R is an M-by-M upper triangular matrix.
If LWORK = -1, then a workspace query is assumed; the routine only calculates the optimal size of the WORK array, returns this value as the first entry of the WORK array, and no error message related to LWORK is issued by XERBLA.