ZUNHR_COL02.F(3)
π ZUNHR_COL02(3) π
Okay bestie, this is the Library Functions Manual page for ZUNHR_COL02(3), and the file path is TESTING/LIN/zunhr_col02.f. The page tag vibe is TESTING/LI...nhr_col02.f(3). Buckle up, we're getting into the whole subroutine tea. β¨
πΈ NAME πΈ
TESTING/LIN/zunhr_col02.f
β¨ SYNOPSIS β¨
Functions/Subroutines
subroutine zunhr_col02 (m, n, mb1, nb1, nb2, result)ZUNHR_COL02
π Function/Subroutine Documentation π
subroutine zunhr_col02 (integer m, integer n, integer mb1, integer nb1,
integer nb2, double precision, dimension(6) result)
ZUNHR_COL02
π¦ Purpose π¦
So ZUNHR_COL02 tests ZUNGTSQR_ROW and ZUNHR_COL inside ZGETSQRHRT β and ZGETSQRHRT is the one calling ZLATSQR, ZUNGTSQR_ROW, and ZUNHR_COL β using ZGEMQRT. Therefore, ZLATSQR (part of ZGEQR) and ZGEMQRT (part of ZGEMQR) have to be tested before this test. Periodt. π
π Parameters π
MβM is INTEGERand it's the number of rows in the test matrix. Rows, bestie. πNβN is INTEGERand it's the number of columns in the test matrix. Columns. πMB1βMB1 is INTEGERand it's the number of row in row block in an input test matrix. (Yes, that's the original wording β βrow,β singular, iconic.) πNB1βNB1 is INTEGERand it's the number of columns in column block an input test matrix. π¦NB2βNB2 is INTEGERand it's the number of columns in column block in an output test matrix. β¨RESULTβRESULT is DOUBLE PRECISION array, dimension (6). It holds the results of each of the six tests below. π
Then the setup goes like this:
A is a m-by-n test input matrix to be factored.
so that A = Q_gr * ( R )
( 0 ),
Q_qr is an implicit m-by-m unitary Q matrix, the result
of factorization in blocked WY-representation,
stored in ZGEQRT output format.
R is a n-by-n upper-triangular matrix,
0 is a (m-n)-by-n zero matrix,
Q is an explicit m-by-m unitary matrix Q = Q_gr * I
C is an m-by-n random matrix,
D is an n-by-m random matrix.
And 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 using ZGEMQRT,
Q * C, (Q**H) * C, D * Q, D * (Q**H) are
computed using ZGEMM.
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 119 of file zunhr_col02.f.
π« Author π«
Generated automatically by Doxygen for LAPACK from the source code.
That's the whole page, bestie β footer vibes: LAPACK, Version 3.12.0, file tag TESTING/LI...nhr_col02.f(3). 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