CUNHR_COL02.F(3)
okay bestie, welcome to the TESTING/LI...nhr_col02.f(3) page β a Library Functions Manual moment about TESTING/LIN/cunhr_col02.f πβ¨
β¨ NAME β¨
- file:
TESTING/LIN/cunhr_col02.fβ that's the LAPACK test routine file, no cap π«Ά
πΈ SYNOPSIS πΈ
Functions/Subroutines
subroutine cunhr_col02 (m, n, mb1, nb1, nb2, result)
CUNHR_COL02
π Function/Subroutine Documentation π
subroutine cunhr_col02 (integer m, integer n, integer mb1, integer nb1,
integer nb2, real, dimension(6) result)
CUNHR_COL02
π Purpose π
okay so CUNHR_COL02 tests CUNGTSQR_ROW and CUNHR_COL inside CGETSQRHRT β which calls CLATSQR, CUNGTSQR_ROW and CUNHR_COL β using CGEMQRT. β¨
because of that, CLATSQR (part of CGEQR) and CGEMQRT (part of CGEMQR) have to be tested before this test. periodt π
π¦ Parameters π¦
MβM is INTEGER; number of rows in test matrix. πNβN is INTEGER; number of columns in test matrix. πMB1βMB1 is INTEGER; number of row in row block in an input test matrix.NB1βNB1 is INTEGER; number of columns in column block an input test matrix.NB2βNB2 is INTEGER; number of columns in column block in an output test matrix.RESULTβRESULT is REAL array, dimension (6); results of each of the six tests below. π
here's the lore for RESULT, bestie:
A is a m-by-n test input matrix to be factored, so that:
A = Q_gr * ( R )
( 0 )
Q_qris an implicit m-by-m unitary Q matrix, the result of factorization in blocked WY-representation, stored inCGEQRToutput format.Ris a n-by-n upper-triangular matrix.0is a (m-n)-by-n zero matrix.Qis an explicit m-by-m unitary matrixQ = Q_gr * I.Cis an m-by-n random matrix.Dis an n-by-m random matrix.
The six tests are:
RESULT(1) = |R - (Q**H) * A| / ( eps * m * |A| )β is equivalent to test for| A - Q * R | / (eps * m * |A|), πRESULT(2) = |I - (Q**H) * Q| / ( eps * m ),RESULT(3) = | Q_qr * C - Q * C | / (eps * m * |C|),RESULT(4) = | (Q_gr**H) * C - (Q**H) * C | / (eps * m * |C|)RESULT(5) = | D * Q_qr - D * Q | / (eps * m * |D|)RESULT(6) = | D * (Q_qr**H) - D * (Q**H) | / (eps * m * |D|),
where:
Q_qr * C,(Q_gr**H) * C,D * Q_qr,D * (Q_qr**H)are computed usingCGEMQRT,Q * C,(Q**H) * C,D * Q,D * (Q**H)are computed usingCGEMM.
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 119 of file cunhr_col02.f.
π« Author π«
this page was Generated automatically by Doxygen for LAPACK from the source code. π€β¨
and that's the whole vibe, bestie: source/version check is LAPACK Version 3.12.0, page tag TESTING/LI...nhr_col02.f(3) β the footer didn't give me a date, so I'm not inventing one, no cap ππ
π¦ 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