CQPT01(3)
๐ธ NAME ๐ธ
okay so bestie, welcome to the Library Functions Manual โ section 3, the โจlibrary functionsโจ zone โ and the star of this page is our girl CQPT01. Here's where she lives:
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/TESTING/LIN/cqpt01.f
โจ SYNOPSIS โจ
๐ฆ Functions/Subroutines
real function CQPT01 (m, n, k, a, af, lda, tau, jpvt, work, lwork)
CQPT01 โ that's her, that's the function ๐
๐ Function/Subroutine Documentation ๐
the full signature, no cap
real function CQPT01 (integer m, integer n, integer k, complex, dimension(
lda, * ) a, complex, dimension( lda, * ) af, integer lda, complex,
dimension( * ) tau, integer, dimension( * ) jpvt, complex, dimension(
lwork ) work, integer lwork)
CQPT01 ๐ซถ
๐ Purpose
okay so here's the tea โ CQPT01 tests the QR-factorization with pivoting of a matrix A. Your girl AF is holding the (possibly partial) QR-factorization of A, where the upper triangle of AF(1:k,1:k) is a partial triangular factor, the entries below the diagonal in the first k columns are the Householder vectors, and the rest of AF contains a partially updated matrix. fr fr that's the whole layout ๐ง
This function returns
||A*P - Q*R|| / ( ||norm(A)||*eps*max(M,N) )
where || . || is the matrix one norm. iconic honestly โจ
๐งฎ Parameters
Mโ INTEGER, the number of rows of the matricesAandAF. that's it, that's the row count ๐Nโ INTEGER, the number of columns of the matricesAandAF. the column count, we love her ๐ธKโ INTEGER, the number of columns ofAFthat have been reduced to upper triangular form. so like, how far the reduction got ๐Aโ COMPLEX array, dimension (LDA, N). the original matrixA. the before picture ๐ธAFโ COMPLEX array, dimension (LDA,N). the (possibly partial) output ofCGEQPF. the upper triangle ofAF(1:k,1:k)is a partial triangular factor, the entries below the diagonal in the firstkcolumns are the Householder vectors, and the rest ofAFcontains a partially updated matrix. the after picture ๐LDAโ INTEGER, the leading dimension of the arraysAandAF. yes the leading dimension, she matters ๐ฆTAUโ COMPLEX array, dimension (K). details of the Householder transformations as returned byCGEQPF. the receipts ๐งพJPVTโ INTEGER array, dimension (N). pivot information as returned byCGEQPF. who goes where ๐ซWORKโ COMPLEX array, dimension (LWORK). the workspace, doing the most as always ๐LWORKโ INTEGER, the length of the arrayWORK. and bestie,LWORK >= M*N+N. not negotiable, that's the requirement โ
๐ Author
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
slay, four institutions, main character energy ๐๏ธ
๐ Definition
Definition at line 119 of file cqpt01.f.
๐ Author
Generated automatically by Doxygen for LAPACK from the source code. (yes bestie, a robot wrote this part, don't come for me ๐)
okay so that's the whole page, every single parameter accounted for, no details skipped, we ate and left no crumbs ๐ โจ
byeeeee ๐ซถ this has been LAPACK, Version 3.12.0, living at /home/abui...IN/cqpt01.f(3) โ mwah, see u in the next page ๐๐ฆ
๐ฆ 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