SRC/dgeqp3.f(3)
๐ SRC/dgeqp3.f(3) ๐
bestie, welcome to the Library Functions Manual page for SRC/dgeqp3.f(3) โ we're talking DGEQP3, and she is lowkey iconic. ๐
โจ NAME โจ
SRC/dgeqp3.f โ that's it, that's the name, no notes. ๐
๐ฆ SYNOPSIS ๐ฆ
Functions/Subroutines
subroutine dgeqp3 (m, n, a, lda, jpvt, tau, work, lwork, info)โDGEQP3, the main character. ๐
๐ Function/Subroutine Documentation ๐
subroutine dgeqp3 (integer m, integer n, double precision, dimension( lda, *
) a, integer lda, integer, dimension( * ) jpvt, double precision,
dimension( * ) tau, double precision, dimension( * ) work, integer
lwork, integer info)
DGEQP3 โ yes bestie, that's the whole signature, and we are not renaming a single thing. ๐ซถ
๐ Purpose ๐
okay so DGEQP3 computes a QR factorization with column pivoting of a matrix A: A*P = Q*R using Level 3 BLAS. that's the whole flex. ๐ฅ
๐ Parameters ๐
MโM is INTEGER. the number of rows of the matrixA.M >= 0. ๐NโN is INTEGER. the number of columns of the matrixA.N >= 0. ๐AโA is DOUBLE PRECISION array, dimension (LDA,N). on entry, theM-by-NmatrixA. on exit, the upper triangle of the array contains themin(M,N)-by-Nupper trapezoidal matrixR; the elements below the diagonal, together with the arrayTAU, represent the orthogonal matrixQas a product ofmin(M,N)elementary reflectors. ๐ฆLDAโLDA is INTEGER. the leading dimension of the arrayA.LDA >= max(1,M). ๐ซJPVTโJPVT is INTEGER array, dimension (N). on entry, ifJPVT(J).ne.0, theJ-th column ofAis permuted to the front ofA*P(a leading column); ifJPVT(J)=0, theJ-th column ofAis a free column. on exit, ifJPVT(J)=K, then theJ-th column ofA*Pwas theK-th column ofA. ๐TAUโTAU is DOUBLE PRECISION array, dimension (min(M,N)). the scalar factors of the elementary reflectors. โจWORKโWORK is DOUBLE PRECISION array, dimension (MAX(1,LWORK)). on exit, ifINFO=0,WORK(1)returns the optimalLWORK. ๐งLWORKโLWORK is INTEGER. the dimension of the arrayWORK.LWORK >= 3*N+1. for optimal performanceLWORK >= 2*N+( N+1 )*NB, whereNBis the optimal blocksize. ifLWORK = -1, then a workspace query is assumed; the routine only calculates the optimal size of theWORKarray, returns this value as the first entry of theWORKarray, and no error message related toLWORKis issued byXERBLA. ๐ฆINFOโINFO is INTEGER.= 0: successful exit.< 0: ifINFO = -i, thei-th argument had an illegal value. ๐จ
๐ธ Author ๐ธ
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Generated automatically by Doxygen for LAPACK from the source code. ๐ค
๐ 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/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). ๐งฎ๐
๐ Contributors: ๐
- G. Quintana-Orti, Depto. de Informatica, Universidad Jaime I, Spain
- X. Sun, Computer Science Dept., Duke University, USA
Definition at line 150 of file dgeqp3.f. ๐
๐ Author ๐
Generated automatically by Doxygen for LAPACK from the source code. ๐ซถ
okay bestie, that's the whole page โ brought to you by LAPACK Version 3.12.0 SRC/dgeqp3.f(3). the footer doesn't list a date, so no invented date here, just the version-and-source combo. ๐โจ
๐ฆ 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