geqrf(3)
πΈ NAME πΈ
geqrf β the QR factor girlies' moment. Like, geqrf literally is the QR factor. That's the whole vibe. π
β¨ SYNOPSIS β¨
π«Ά Functions
subroutine cgeqrf (m, n, a, lda, tau, work, lwork, info)βCGEQRFsubroutine dgeqrf (m, n, a, lda, tau, work, lwork, info)βDGEQRFsubroutine sgeqrf (m, n, a, lda, tau, work, lwork, info)βSGEQRFsubroutine zgeqrf (m, n, a, lda, tau, work, lwork, info)βZGEQRF
π DESCRIPTION π
π Detailed Description
Deadass, this is the whole rundown β every function gets its own lil spotlight below, with the full tea on purpose, parameters, authors, and the further-details lore. π
π Function Documentation π
π subroutine cgeqrf π
subroutine cgeqrf (integer m, integer n, complex, dimension( lda, * ) a,
integer lda, complex, dimension( * ) tau, complex, dimension( * ) work,
integer lwork, integer info)
CGEQRF
Purpose:
CGEQRF computes a QR factorization of a complex M-by-N matrix A:
A = Q * ( R ),
( 0 )
where:
Qis a M-by-M orthogonal matrix;Ris an upper-triangular N-by-N matrix;0is a (M-N)-by-N zero matrix, if M > N.
Parameters
MβMisINTEGER. The number of rows of the matrix A.M >= 0. π«ΆNβNisINTEGER. The number of columns of the matrix A.N >= 0. π«ΆAβAisCOMPLEXarray, dimension(LDA,N). On entry, the M-by-N matrix A. On exit, the elements on and above the diagonal of the array contain the min(M,N)-by-N upper trapezoidal matrix R (R is upper triangular if m >= n); the elements below the diagonal, with the arrayTAU, represent the unitary matrix Q as a product of min(m,n) elementary reflectors (see Further Details). πLDAβLDAisINTEGER. The leading dimension of the array A.LDA >= max(1,M). βTAUβTAUisCOMPLEXarray, dimension(min(M,N)). The scalar factors of the elementary reflectors (see Further Details). πWORKβWORKisCOMPLEXarray, dimension(MAX(1,LWORK)). On exit, ifINFO = 0,WORK(1)returns the optimalLWORK. β¨LWORKβLWORKisINTEGER. The dimension of the arrayWORK.LWORK >= 1, ifMIN(M,N) = 0, andLWORK >= N, otherwise. For optimum performanceLWORK >= N*NB, whereNBis the optimal blocksize.
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. π₯
INFOβINFOisINTEGER.= 0: successful exit< 0: ifINFO = -i, the i-th argument had an illegal value
Author
Univ. of Tennessee
Univ. of California Berkeley
Univ. of Colorado Denver
NAG Ltd.
Further Details:
The matrix Q is represented as a product of elementary reflectors
Q = H(1) H(2) . . . H(k), where k = min(m,n).
Each H(i) has the form
H(i) = I - tau * v * v**H
where tau is a complex scalar, and v is a complex vector with v(1:i-1) = 0 and v(i) = 1; v(i+1:m) is stored on exit in A(i+1:m,i), and tau in TAU(i). π¦
Definition at line 145 of file cgeqrf.f.
πΈ subroutine dgeqrf πΈ
subroutine dgeqrf (integer m, integer n, double precision, dimension( lda, *
) a, integer lda, double precision, dimension( * ) tau, double
precision, dimension( * ) work, integer lwork, integer info)
DGEQRF
Purpose:
DGEQRF computes a QR factorization of a real M-by-N matrix A:
A = Q * ( R ),
( 0 )
where:
Qis a M-by-M orthogonal matrix;Ris an upper-triangular N-by-N matrix;0is a (M-N)-by-N zero matrix, if M > N.
Parameters
MβMisINTEGER. The number of rows of the matrix A.M >= 0. π«ΆNβNisINTEGER. The number of columns of the matrix A.N >= 0. π«ΆAβAisDOUBLE PRECISIONarray, dimension(LDA,N). On entry, the M-by-N matrix A. On exit, the elements on and above the diagonal of the array contain the min(M,N)-by-N upper trapezoidal matrix R (R is upper triangular if m >= n); the elements below the diagonal, with the arrayTAU, represent the orthogonal matrix Q as a product of min(m,n) elementary reflectors (see Further Details). πLDAβLDAisINTEGER. The leading dimension of the array A.LDA >= max(1,M). βTAUβTAUisDOUBLE PRECISIONarray, dimension(min(M,N)). The scalar factors of the elementary reflectors (see Further Details). πWORKβWORKisDOUBLE PRECISIONarray, dimension(MAX(1,LWORK)). On exit, ifINFO = 0,WORK(1)returns the optimalLWORK. β¨LWORKβLWORKisINTEGER. The dimension of the arrayWORK.LWORK >= 1, ifMIN(M,N) = 0, andLWORK >= N, otherwise. For optimum performanceLWORK >= N*NB, whereNBis the optimal blocksize.
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. π₯
INFOβINFOisINTEGER.= 0: successful exit< 0: ifINFO = -i, the i-th argument had an illegal value
Author
Univ. of Tennessee
Univ. of California Berkeley
Univ. of Colorado Denver
NAG Ltd.
Further Details:
The matrix Q is represented as a product of elementary reflectors
Q = H(1) H(2) . . . H(k), where k = min(m,n).
Each H(i) has the form
H(i) = I - tau * v * v**T
where tau is a real scalar, and v is a real vector with v(1:i-1) = 0 and v(i) = 1; v(i+1:m) is stored on exit in A(i+1:m,i), and tau in TAU(i). π¦
Definition at line 145 of file dgeqrf.f.
πΌ subroutine sgeqrf πΌ
subroutine sgeqrf (integer m, integer n, real, dimension( lda, * ) a,
integer lda, real, dimension( * ) tau, real, dimension( * ) work,
integer lwork, integer info)
SGEQRF
Purpose:
SGEQRF computes a QR factorization of a real M-by-N matrix A:
A = Q * ( R ),
( 0 )
where:
Qis a M-by-M orthogonal matrix;Ris an upper-triangular N-by-N matrix;0is a (M-N)-by-N zero matrix, if M > N.
Parameters
MβMisINTEGER. The number of rows of the matrix A.M >= 0. π«ΆNβNisINTEGER. The number of columns of the matrix A.N >= 0. π«ΆAβAisREALarray, dimension(LDA,N). On entry, the M-by-N matrix A. On exit, the elements on and above the diagonal of the array contain the min(M,N)-by-N upper trapezoidal matrix R (R is upper triangular if m >= n); the elements below the diagonal, with the arrayTAU, represent the orthogonal matrix Q as a product of min(m,n) elementary reflectors (see Further Details). πLDAβLDAisINTEGER. The leading dimension of the array A.LDA >= max(1,M). βTAUβTAUisREALarray, dimension(min(M,N)). The scalar factors of the elementary reflectors (see Further Details). πWORKβWORKisREALarray, dimension(MAX(1,LWORK)). On exit, ifINFO = 0,WORK(1)returns the optimalLWORK. β¨LWORKβLWORKisINTEGER. The dimension of the arrayWORK.LWORK >= 1, ifMIN(M,N) = 0, andLWORK >= N, otherwise. For optimum performanceLWORK >= N*NB, whereNBis the optimal blocksize.
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. π₯
INFOβINFOisINTEGER.= 0: successful exit< 0: ifINFO = -i, the i-th argument had an illegal value
Author
Univ. of Tennessee
Univ. of California Berkeley
Univ. of Colorado Denver
NAG Ltd.
Further Details:
The matrix Q is represented as a product of elementary reflectors
Q = H(1) H(2) . . . H(k), where k = min(m,n).
Each H(i) has the form
H(i) = I - tau * v * v**T
where tau is a real scalar, and v is a real vector with v(1:i-1) = 0 and v(i) = 1; v(i+1:m) is stored on exit in A(i+1:m,i), and tau in TAU(i). π¦
Definition at line 145 of file sgeqrf.f.
π subroutine zgeqrf π
subroutine zgeqrf (integer m, integer n, complex*16, dimension( lda, * ) a,
integer lda, complex*16, dimension( * ) tau, complex*16, dimension( * )
work, integer lwork, integer info)
ZGEQRF
Purpose:
β¦bestie hold that thought β the ZGEQRF tea spills over into part 2 π
okay so ZGEQRF computes a QR factorization of a complex M-by-N matrix A:
A = Q * ( R ),
( 0 )
where:
Qis a M-by-M orthogonal matrix;Ris an upper-triangular N-by-N matrix;0is a (M-N)-by-N zero matrix, if M > N.
Parameters β¨
MβMisINTEGER. Itβs the number of rows of the matrixA.M >= 0.NβNisINTEGER. Itβs the number of columns of the matrixA.N >= 0.AβAisCOMPLEX*16 array, dimension(LDA,N). On entry, itβs the M-by-N matrixA. On exit, the elements on and above the diagonal of the array contain themin(M,N)-by-N upper trapezoidal matrixR(Ris upper triangular ifm >= n); the elements below the diagonal, with the arrayTAU, represent the unitary matrixQas a product ofmin(m,n)elementary reflectors (see Further Details).LDAβLDAisINTEGER. Itβs the leading dimension of the arrayA.LDA >= max(1,M).TAUβTAUisCOMPLEX*16 array, dimension(min(M,N)). These are the scalar factors of the elementary reflectors (see Further Details).WORKβWORKisCOMPLEX*16 array, dimension(MAX(1,LWORK)). On exit, ifINFO = 0,WORK(1)returns the optimalLWORK.LWORKβLWORKisINTEGER. Itβs the dimension of the arrayWORK.LWORK >= 1, ifMIN(M,N) = 0, andLWORK >= N, otherwise. For optimum performanceLWORK >= N*NB, whereNBis the optimal blocksize.
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.
INFOβINFOisINTEGER.= 0: successful exit< 0: ifINFO = -i, the i-th argument had an illegal value
Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Further Details: π§
The matrix Q is represented as a product of elementary reflectors
Q = H(1) H(2) . . . H(k), where k = min(m,n).
Each H(i) has the form
H(i) = I - tau * v * v**H
where tau is a complex scalar, and v is a complex vector with v(1:i-1) = 0 and v(i) = 1; v(i+1:m) is stored on exit in A(i+1:m,i), and tau in TAU(i).
Definition at line 145 of file zgeqrf.f.
Author π«Ά (the auto-gen one)
Generated automatically by Doxygen for LAPACK from the source code.
and thatβs the whole vibe: LAPACK Version 3.12.0, geqrf(3) β xoxo, the source code π
β¨
π¦ where this page comes from
- arch rolling: lapack-doc 3.12.1-2 Β· custom
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms