SRC/DEPRECATED/sgeqpf.f(3)
π SRC/DEPRECATED/sgeqpf.f(3) π
okay so bestie, you're looking at the SRC/DEPRECATED/sgeqpf.f(3) page from the Library Functions Manual β yes, the deprecation corner of LAPACK. Buckle up, it's giving "old but still iconic" energy. π
πΈ NAME πΈ
SRC/DEPRECATED/sgeqpf.f β that's literally the name, no cap.
β¨ SYNOPSIS β¨
π¦ Functions/Subroutines π¦
subroutine sgeqpf (m, n, a, lda, jpvt, tau, work, info)βSGEQPF
π«Ά Function/Subroutine Documentation π«Ά
The full signature is this cutie:
subroutine sgeqpf (integer m, integer n, real, dimension( lda, * ) a,
integer lda, integer, dimension( * ) jpvt, real, dimension( * ) tau,
real, dimension( * ) work, integer info)
SGEQPF
π― Purpose π―
β οΈ deprecated alert, bestie: this routine is deprecated and has been replaced by routine SGEQP3.
SGEQPF computes a QR factorization with column pivoting of a real M-by-N matrix A: A*P = Q*R.
π Parameters π
MβMisINTEGER. The number of rows of the matrixA.M >= 0.NβNisINTEGER. The number of columns of the matrixA.N >= 0AβAisREALarray, dimension(LDA,N). On entry, theM-by-NmatrixA. On exit, the upper triangle of the array contains themin(M,N)-by-Nupper triangular matrixR; the elements below the diagonal, together with the arrayTAU, represent the orthogonal matrixQas a product ofmin(m,n)elementary reflectors.LDAβLDAisINTEGER. The leading dimension of the arrayA.LDA >= max(1,M).JPVTβJPVTisINTEGERarray, dimension(N). On entry, ifJPVT(i) .ne. 0, the i-th column ofAis permuted to the front ofA*P(a leading column); ifJPVT(i) = 0, the i-th column ofAis a free column. On exit, ifJPVT(i) = k, then the i-th column ofA*Pwas the k-th column ofA.TAUβTAUisREALarray, dimension(min(M,N)). The scalar factors of the elementary reflectors.WORKβWORKisREALarray, dimension(3*N).INFOβINFOisINTEGER.
= 0: successful exit
< 0: if INFO = -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(n)
Each H(i) has the form:
H = 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).
The matrix P is represented in jpvt as follows: If
jpvt(j) = i
then the jth column of P is the ith canonical unit vector.
Partial column norm updating strategy modified by
Z. Drmac and Z. Bujanovic, Dept. of Mathematics,
University of Zagreb, Croatia.
-- April 2011 --
For more details see LAPACK Working Note 176.
Definition at line 141 of file sgeqpf.f.
πͺ Author πͺ
Generated automatically by Doxygen for LAPACK from the source code.
ok bye bestie π this was LAPACK Version 3.12.0, page SRC/DEPRECATED/sgeqpf.f(3) β mwah, stay deprecated but stay flawless β¨
π¦ 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