TESTING/LIN/cdrvrf3.f(3)

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

πŸ¦‹ TESTING/LIN/cdrvrf3.f β€” like, the manual page, but make it make sense

Okay bestie, so this is a page from the LAPACK manual, specifically TESTING/LIN/cdrvrf3.f(3) β€” it lives in the Library Functions Manual section and honestly? It's giving test-driver energy and I'm obsessed. ✨


✨ NAME ✨

TESTING/LIN/cdrvrf3.f β€” that's the file, that's the whole name, no notes. πŸ’…


πŸŽ€ SYNOPSIS πŸŽ€

So under "Functions/Subroutines" we got this one, and it's the main character:

subroutine cdrvrf3 (nout, nn, nval, thresh, a, lda, arf, b1, b2,
    s_work_clange, c_work_cgeqrf, tau)

CDRVRF3 β€” that's the name, say it with your chest. 🫢


πŸ’– Function/Subroutine Documentation πŸ’–

Here's the full signature, character for character, no edits, not one:

subroutine cdrvrf3 (integer nout, integer nn, integer, dimension( nn ) nval,
    real thresh, complex, dimension( lda, * ) a, integer lda, complex,
    dimension( * ) arf, complex, dimension( lda, * ) b1, complex, dimension(
    lda, * ) b2, real, dimension( * ) s_work_clange, complex, dimension( * )
    c_work_cgeqrf, complex, dimension( * ) tau)

CDRVRF3 β€” yes, again, because she's that girl. πŸ‘‘

🌸 Purpose 🌸

!> !> CDRVRF3 tests the LAPACK RFP routines: !> CTFSM !>

So literally, this subroutine's whole job is testing the LAPACK RFP routines, specifically CTFSM. That's it, that's the purpose, and she ate. πŸ”₯

🌈 Parameters 🌈

Every single one, bestie, in order, no skipping:

  • NOUT β€” NOUT is INTEGER. The unit number for output. iykyk, it's where the printouts go. πŸ’»
  • NN β€” NN is INTEGER. The number of values of N contained in the vector NVAL. So it's the count of the count, lowkey meta. πŸ™ˆ
  • NVAL β€” NVAL is INTEGER array, dimension (NN). The values of the matrix dimension N. Iconic little list of sizes. ✨
  • THRESH β€” THRESH is DOUBLE PRECISION. The threshold value for the test ratios. A result is included in the output file if RESULT >= THRESH. To have every test ratio printed, use THRESH = 0. So if you want everything printed, zero it out. Periodt. πŸ’…
  • A β€” A is COMPLEX*16 array, dimension (LDA,NMAX). That's it, that's the description, she's low maintenance. πŸ’œ
  • LDA β€” LDA is INTEGER. The leading dimension of the array A. And this is important: LDA >= max(1,NMAX). Don't come for me, that's the rule. ⭐
  • ARF β€” ARF is COMPLEX array, dimension ((NMAX*(NMAX+1))/2). Look at that triangular packed math, she's built different. πŸŽ€
  • B1 β€” B1 is COMPLEX array, dimension (LDA,NMAX). Main character number one of the B duo. πŸ¦‹
  • B2 β€” B2 is COMPLEX array, dimension (LDA,NMAX). And her sister. two icons, one vibe. 🌸
  • S_WORK_CLANGE β€” S_WORK_CLANGE is REAL array, dimension (NMAX). A whole REAL workspace, get you a friend who works like this. πŸ’–
  • C_WORK_CGEQRF β€” C_WORK_CGEQRF is COMPLEX array, dimension (NMAX). Another workspace, this one's complex (literally). 😭
  • TAU β€” TAU is COMPLEX array, dimension (NMAX). Yes bestie, TAU. She's a scalar-ish queen in array form. πŸ‘‘

🧚 Author 🧚

Credited to all these legends:

  • Univ. of Tennessee
  • Univ. of California Berkeley
  • Univ. of Colorado Denver
  • NAG Ltd.

And this is the moment: Definition at line 117 of file cdrrf3.f β€” wait, no, re-read it bestie, it's cdrvrf3.f. Line 117. Noted. 🫢


πŸ‘‘ Author πŸ‘‘

The page itself says it was generated automatically by Doxygen for LAPACK from the source code. So nobody hand-wrote this, it's just Doxygen doing her thing. πŸ™ˆ


That's the whole page, no crumbs left. LAPACK, Version 3.12.0, dated TESTING/LIN/cdrvrf3.f(3) β€” mwah, slay, bye bestie! πŸ’…βœ¨πŸŽ€

πŸ“¦ where this page comes from