SRC/dlaqps.f(3)
π NAME π
Okay bestie, this page is for SRC/dlaqps.f, and it lives in the Library Functions Manual β thatβs the manual-name vibe folded in right at the top, no boring header line needed. Minimal. Iconic. π
β¨ SYNOPSIS β¨
π Functions/Subroutines π
subroutine dlaqps (m, n, offset, nb, kb, a, lda, jpvt, tau, vn1, vn2, auxv, f, ldf)βDLAQPScomputes a step of QR factorization with column pivoting of a real m-by-n matrixAby using BLAS level 3.
subroutine dlaqps (m, n, offset, nb, kb, a, lda, jpvt, tau, vn1, vn2,
auxv, f, ldf)
π§ Function/Subroutine Documentation π§
subroutine dlaqps (integer m, integer n, integer offset, integer nb, integer
kb, double precision, dimension( lda, * ) a, integer lda, integer,
dimension( * ) jpvt, double precision, dimension( * ) tau, double
precision, dimension( * ) vn1, double precision, dimension( * ) vn2,
double precision, dimension( * ) auxv, double precision, dimension( ldf,
* ) f, integer ldf)
DLAQPS computes a step of QR factorization with column pivoting of a real m-by-n matrix A by using BLAS level 3. Thatβs the short story, and the full tea is below. π«Ά
π― Purpose π―
DLAQPS computes a step of QR factorization with column pivoting of a real M-by-N matrix A by using Blas-3. It tries to factorize NB columns from A starting from the row OFFSET+1, and updates all of the matrix with Blas-3 xGEMM.
π Real talk: in some cases, due to catastrophic cancellations, it cannot factorizeNBcolumns. Hence, the actual number of factorized columns is returned inKB.
Block A(1:OFFSET,1:N) is accordingly pivoted, but not factorized.
π§Έ 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.OFFSETβOFFSETisINTEGER. Itβs the number of rows ofAthat have been factorized in previous steps.NBβNBisINTEGER. Itβs the number of columns to factorize.KBβKBisINTEGER. Itβs the number of columns actually factorized.AβAis aDOUBLE PRECISIONarray, dimension(LDA,N). On entry, itβs theM-by-NmatrixA. On exit, blockA(OFFSET+1:M,1:KB)is the triangular factor obtained, and blockA(1:OFFSET,1:N)has been accordingly pivoted but not factorized. The rest of the matrix, blockA(OFFSET+1:M,KB+1:N), has been updated.LDAβLDAisINTEGER. Itβs the leading dimension of the arrayA.LDA >= max(1,M).JPVTβJPVTis anINTEGERarray, dimension(N). The docs say:JPVT(I) = K <==> Column K of the full matrix A has been permuted into position I in AP.TAUβTAUis aDOUBLE PRECISIONarray, dimension(KB). These are the scalar factors of the elementary reflectors.VN1βVN1is aDOUBLE PRECISIONarray, dimension(N). Itβs the vector with the partial column norms.VN2βVN2is aDOUBLE PRECISIONarray, dimension(N). Itβs the vector with the exact column norms.AUXVβAUXVis aDOUBLE PRECISIONarray, dimension(NB). Itβs an auxiliary vector.FβFis aDOUBLE PRECISIONarray, dimension(LDF,NB). MatrixF**T = L*Y**T*A.LDFβLDFisINTEGER. Itβs the leading dimension of the arrayF.LDF >= max(1,N).
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
π«Ά Contributors π«Ά
- G. Quintana-Orti, Depto. de Informatica, Universidad Jaime I, Spain
- X. Sun, Computer Science Dept., Duke University, USA
- Partial column norm updating strategy modified on April 2011 Z. Drmac and Z. Bujanovic, Dept. of Mathematics, University of Zagreb, Croatia.
π References π
- LAPACK Working Note 176
Definition at line 175 of file dlaqps.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
π Thatβs the whole page, bestie! The footerβs source/version energy is LAPACK Version 3.12.0, SRC/dlaqps.f(3) β and yes, we ate. Periodt. π
β¨
π¦ 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