ZUNHR_COL01(3)
π NAME
TESTING/LIN/zunhr_col01.f
Okay bestie, we're in the Library Functions Manual and this is the page for that LAPACK testing file. It's giving βI verify the factorization girlsβ energy, and honestly? Iconic. β¨
πΈ SYNOPSIS
Functions/Subroutines
subroutine zunhr_col01 (m, n, mb1, nb1, nb2, result)
ZUNHR_COL01
π FUNCTION/SUBROUTINE DOCUMENTATION
subroutine zunhr_col01 (integer m, integer n, integer mb1, integer nb1,
integer nb2, double precision, dimension(6) result)
ZUNHR_COL01
π― Purpose
ZUNHR_COL01 tests ZUNGTSQR and ZUNHR_COL using ZLATSQR, ZGEMQRT. Therefore, ZLATSQR (part of ZGEQR) and ZGEMQRT (part of ZGEMQR) have to be tested before this test. Yes, bestie, it's a prerequisite chain β do the earlier tests first, no skipping. π
π Parameters
MβMisINTEGER. Number of rows in test matrix. πNβNisINTEGER. Number of columns in test matrix. πMB1βMB1isINTEGER. Number of row in row block in an input test matrix. (That's literally what it says, bestie.)NB1βNB1isINTEGER. Number of columns in column block an input test matrix.NB2βNB2isINTEGER. Number of columns in column block in an output test matrix.RESULTβRESULTisDOUBLE PRECISIONarray, dimension(6). Results of each of the six tests below. π
RESULT details, because this cast is long and we love a full ensemble:
Ais am-by-ntest input matrix to be factored, so that
A = Q_gr * ( R )
( 0 ),
Q_qris an implicitm-by-munitaryQmatrix, the result of factorization in blocked WY-representation, stored inZGEQRToutput format.Ris an-by-nupper-triangular matrix,0is a(m-n)-by-nzero matrix,Qis an explicitm-by-munitary matrixQ = Q_gr * ICis anm-by-nrandom matrix,Dis ann-by-mrandom 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 usingZGEMQRT,Q * C,(Q**H) * C,D * Q,D * (Q**H)are computed usingZGEMM.
π Author
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 118 of file zunhr_col01.f.
πͺ AUTHOR
Generated automatically by Doxygen for LAPACK from the source code.
π Cute little sign-off: this page lives in the Library Functions Manual, and the footer tea is LAPACK Version 3.12.0, with page tag TESTING/LI...nhr_col01.f(3). Slay, and good luck with your tests. π
π¦ 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