TESTING/LIN/crzt01.f(3)

πŸ“¦
version 3.12.1 Β· 3 versions
, in arch rolling

✨ 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