CLAQPS(3)
πΈ claqps.f(3) β Library Functions Manual but make it fashion πΈ
okay so bestie, welcome to the claqps.f(3) page from the Library Functions Manual β¨ this is a LAPACK subroutine and it's lowkey iconic. No cap, we're keeping every parameter, every type, every >=, every author, every reference β the whole vibe check. Periodt. π
β¨ NAME β¨
The name is literally this whole path, bestie β it's giving very full, very unbothered π«Ά
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/claqps.f
π¦ SYNOPSIS π¦
π§ Functions/Subroutines π§
subroutine CLAQPS (integer m, integer n, integer offset, integer nb, integer
kb, complex, dimension( lda, * ) a, integer lda, integer, dimension( * )
jpvt, complex, dimension( * ) tau, real, dimension( * ) vn1, real,
dimension( * ) vn2, complex, dimension( * ) auxv, complex, dimension(
ldf, * ) f, integer ldf)
okay so CLAQPS computes a step of QR factorization with column pivoting of a real m-by-n matrix A by using BLAS level 3. (Yes, the synopsis says real; I'm literally not editing it, bestie π)
π Function/Subroutine Documentation π
here's the signature again because the original ate and left no crumbs:
subroutine CLAQPS (integer m, integer n, integer offset, integer nb, integer
kb, complex, dimension( lda, * ) a, integer lda, integer, dimension( * )
jpvt, complex, dimension( * ) tau, real, dimension( * ) vn1, real,
dimension( * ) vn2, complex, dimension( * ) auxv, complex, dimension(
ldf, * ) f, integer ldf)
CLAQPS computes a step of QR factorization with column pivoting of a real m-by-n matrix A by using BLAS level 3.
π― Purpose: π―
so the actual mission, per the source: CLAQPS computes a step of QR factorization with column pivoting of a complex 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.
In some cases, due to catastrophic cancellations, it cannot factorize NB columns. Hence, the actual number of factorized columns is returned in KB.
Block A(1:OFFSET,1:N) is accordingly pivoted, but not factorized. (No cap, that's the whole mood.)
π₯ Parameters π₯
one by one, bestie, no skipping:
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 >= 0OFFSETβOFFSET is INTEGER; the number of rows ofAthat have been factorized in previous steps.NBβNB is INTEGER; the number of columns to factorize.KBβKB is INTEGER; the number of columns actually factorized.AβA is COMPLEX array, dimension (LDA,N); on entry, 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 no factorized (their exact wording, bestie π). The rest of the matrix, blockA(OFFSET+1:M,KB+1:N)has been updated.LDAβLDA is INTEGER; the leading dimension of the arrayA.LDA >= max(1,M).JPVTβJPVT is INTEGER array, dimension (N);JPVT(I) = K <==> Column K of the full matrix A has been permuted into position I in AP.TAUβTAU is COMPLEX array, dimension (KB); the scalar factors of the elementary reflectors.VN1βVN1 is REAL array, dimension (N); the vector with the partial column norms.VN2βVN2 is REAL array, dimension (N); the vector with the exact column norms.AUXVβAUXV is COMPLEX array, dimension (NB); auxiliary vector.FβF is COMPLEX array, dimension (LDF,NB); MatrixF**H = L * Y**H * A.LDFβLDF is INTEGER; the leading dimension of the arrayF.LDF >= max(1,N).
π Author π
the institutions behind this masterpiece, fr fr:
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
π Contributors: π
the besties who contributed, no cap:
- G. Quintana-Orti, Depto. de Informatica, Universidad Jaime I, Spain
- X. Sun, Computer Science Dept., Duke University, USA
and also: 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 176 of file claqps.f.
π§ Author π§
Generated automatically by Doxygen for LAPACK from the source code.
okay bye bestie, final footer vibe check: LAPACK Version 3.12.0 and claqps.f(3), no date in the footer, that's all we got β mwah ππ«Ά
π¦ where this page comes from
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms