TESTING/LIN/cqpt01.f(3)
π TESTING/LIN/cqpt01.f π
okay bestie, welcome to the Library Functions Manual page for TESTING/LIN/cqpt01.f β yes, the filename is basically the whole title vibe here. This one is a LAPACK testing routine, and ngl itβs giving βquietly important math gremlinβ in the best way π
π NAME π
TESTING/LIN/cqpt01.f
β¨ SYNOPSIS β¨
Functions/Subroutines
real function cqpt01 (m, n, k, a, af, lda, tau, jpvt, work, lwork)
CQPT01
πΈ Function/Subroutine Documentation πΈ
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 π¦
CQPT01 tests the QR-factorization with pivoting of a matrix A. The array AF contains 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.
This function returns ||A*P - Q*R|| / ( ||norm(A)||*eps*max(M,N) ) where || . || is matrix one norm. math slay, no cap β¨
π Parameters π
MβMis INTEGER. The number of rows of the matricesAandAF.NβNis INTEGER. The number of columns of the matricesAandAF.KβKis INTEGER. The number of columns ofAFthat have been reduced to upper triangular form.AβAis COMPLEX array, dimension(LDA, N). The original matrixA.AFβAFis 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.LDAβLDAis INTEGER. The leading dimension of the arraysAandAF.TAUβTAUis COMPLEX array, dimension(K). Details of the Householder transformations as returned byCGEQPF.JPVTβJPVTis INTEGER array, dimension(N). Pivot information as returned byCGEQPF.WORKβWORKis COMPLEX array, dimension(LWORK).LWORKβLWORKis INTEGER. The length of the arrayWORK.LWORK >= M*N+N.
π«Ά Author π«Ά
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 119 of file cqpt01.f.
π€ Author π€
Generated automatically by Doxygen for LAPACK from the source code.
okay thatβs the whole page, bestie β LAPACK Version 3.12.0, page TESTING/LIN/cqpt01.f(3), from the Library Functions Manual. Stay slay π
ππ
π¦ 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