TESTING/LIN/crzt01.f(3)
β¨ TESTING/LIN/crzt01.f β¨
okay bestie so this is a page out of LAPACK β the TESTING/LIN corner of it, to be exact β and it's all about one little Fortran function called crzt01. it's giving "quality control girlie" energy, fr fr π
πΈ SYNOPSIS πΈ
Functions/Subroutines
real function crzt01 (m, n, a, af, lda, tau, work, lwork)β CRZT01
π¦ Function/Subroutine Documentation π¦
real function crzt01 (integer m, integer n, complex, dimension( lda, * ) a,
complex, dimension( lda, * ) af, integer lda, complex, dimension( * )
tau, complex, dimension( lwork ) work, integer lwork)
CRZT01 β that's literally her name, no notes π
π Purpose
!>
!> CRZT01 returns
!> || A - R*Q || / ( M * eps * ||A|| )
!> for an upper trapezoidal A that was factored with CTZRZF.
!>
so like. she computes that ratio up there π β the norm of A - R*Q, divided by M * eps * ||A|| β for an upper trapezoidal A that was factored with CTZRZF. it's a whole vibe check for your factorization π₯ (and the emojis-optional part: the math is exact, keep every piece of it π)
π Parameters π
M
!> M is INTEGER
!> The number of rows of the matrices A and AF.
!>
the row count, bestie. how many rows live in A and AF. periodt π
N
!> N is INTEGER
!> The number of columns of the matrices A and AF.
!>
same but for columns β N is the number of columns of A and AF. iconic πΈ
A
!> A is COMPLEX array, dimension (LDA,N)
!> The original upper trapezoidal M by N matrix A.
!>
this is the original A, an upper trapezoidal M by N matrix, sitting in a COMPLEX array with dimension (LDA,N). she's the before picture πΈ
AF
!> AF is COMPLEX array, dimension (LDA,N)
!> The output of CTZRZF for input matrix A.
!> The lower triangle is not referenced.
!>
AF is the after picture β the output of CTZRZF for input matrix A, in a COMPLEX array of dimension (LDA,N). and heads up: the lower triangle is not referenced. don't even worry about it, she's just not looking there π
LDA
!> LDA is INTEGER
!> The leading dimension of the arrays A and AF.
!>
the leading dimension of both A and AF. yes both. shared. slay π«
TAU
!> TAU is COMPLEX array, dimension (M)
!> Details of the Householder transformations as returned by
!> CTZRZF.
!>
TAU is a COMPLEX array of dimension (M) holding all the little details of the Householder transformations as returned by CTZRZF. the backstory, if you will β¨
WORK
!> WORK is COMPLEX array, dimension (LWORK)
!>
WORK is a COMPLEX array of dimension (LWORK). scratch space, doing her thing π«Ά
LWORK
!> LWORK is INTEGER
!> The length of the array WORK. LWORK >= m*n + m.
!>
LWORK is an INTEGER β the length of the array WORK. and the rule is LWORK >= m*n + m. no cap, memorize it ππ
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
the whole friend group came together for this one, we love to see it π
Definition at line 96 of file crzt01.f. π―
side note from the docs themselves: this page was Generated automatically by Doxygen for LAPACK from the source code. β so if anything's funky, blame the robots, not me π€π
and that's the whole page, bestie!! πβ¨π¦πΈπ
<cute>mwah π β LAPACK, Version 3.12.0 π (that's the source/version and date energy, right there in the footer, folded into this little sign-off π«Ά)</cute>
π¦ 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