/home/abui.../zdrvrf4.f(3)

πŸ“¦ version 3.12.0, in opensuse-leap 16.0

✨ /home/abui.../zdrvrf4.f(3) ✨

okay so this is a page from the Library Functions Manual, bestie β€” it's all about one single Fortran file, and the whole path is a whole journey:

/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/TESTING/LIN/zdrvrf4.f

like... the way that path just keeps going 😭 it's giving "I was built in a container and I want you to know it." Anyway. Sit down, grab a strawberry πŸ“, we're doing LAPACK internals.


🌸 NAME 🌸

/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/TESTING/LIN/zdrvrf4.f β€” that's it, that's the name, that's the entire name, and yes it's a whole file path as a name, no cap πŸ’€


πŸŽ€ SYNOPSIS πŸŽ€

Functions/Subroutines

  • subroutine ZDRVRF4 (nout, nn, nval, thresh, c1, c2, ldc, crf, a, lda, d_work_zlange) β€” the main character herself. That's the whole cast list, eleven arguments, all up in here.
    • ZDRVRF4 β€” the short name, in case the eleven-argument one was too much for you (valid tbh)

πŸ‘‘ Function/Subroutine Documentation πŸ‘‘

🌈 subroutine ZDRVRF4 🌈

okay here's the full signature, copied exactly, do not touch, do not edit, hands off:

subroutine ZDRVRF4 (integer nout, integer nn, integer, dimension( nn ) nval,
    double precision thresh, complex*16, dimension( ldc, * ) c1, complex*16,
    dimension( ldc, *) c2, integer ldc, complex*16, dimension( * ) crf,
    complex*16, dimension( lda, * ) a, integer lda, double precision,
    dimension( * ) d_work_zlange)

ZDRVRF4

✨ Purpose ✨

!> !> ZDRVRF4 tests the LAPACK RFP routines: !> ZHFRK !>

so yeah, it's a test driver β€” it flexes on the LAPACK RFP routines, specifically ZHFRK. The comments are literally wrapped in !> and we're keeping them exactly like that because that's the vibe the source code chose 🫢


πŸ’… Parameters πŸ’…

every single one, in order, no skipping, periodt:

  • NOUT β€” NOUT is INTEGER. It's the unit number for output. That's where the receipts get printed, bestie. πŸ’–
  • NN β€” NN is INTEGER. The number of values of N contained in the vector NVAL. Basically how many N's we're testing.
  • NVAL β€” NVAL is INTEGER array, dimension (NN). The values of the matrix dimension N. The actual lineup 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. ngl that last bit is the "spill all the tea" mode 🌸
  • C1 β€” C1 is COMPLEX*16 array, dimension (LDC,NMAX). that's it, that's the description, we don't elaborate πŸ’€
  • C2 β€” C2 is COMPLEX*16 array, dimension (LDC,NMAX). twin of the above, matching outfits πŸŽ€
  • LDC β€” LDC is INTEGER. The docs say: "The leading dimension of the array A. LDA >= max(1,NMAX)." yeah I know, it says A and LDA in the LDC section β€” I'm not gonna gaslight you and pretend otherwise, I'm just telling you what the source says, fr fr πŸ™ˆ
  • CRF β€” CRF is COMPLEX*16 array, dimension ((NMAX*(NMAX+1))/2). note the whole expression, keep it exact: ((NMAX*(NMAX+1))/2) ✨
  • A β€” A is COMPLEX*16 array, dimension (LDA,NMAX). no extra notes, it just is what it is.
  • LDA β€” LDA is INTEGER. The leading dimension of the array A. LDA >= max(1,NMAX). icon behavior, stating its own constraint πŸ’…
  • D_WORK_ZLANGE β€” D_WORK_ZLANGE is DOUBLE PRECISION array, dimension (NMAX). the little workspace gremlin. every driver needs one. 🧚

πŸ¦‹ Author πŸ¦‹

the credits, respect where respect is due:

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

Definition at line 112 of file zdrvrf4.f. β€” line one-hundred-and-twelve, remember that number, there will NOT be a quiz but still ⭐


🌈 Author 🌈

Generated automatically by Doxygen for LAPACK from the source code. πŸ€–

so nobody hand-wrote this page, a robot did, and honestly? it ate.


πŸ’œ sign-off πŸ’œ

and that's the whole page, bestie!! brought to you by LAPACK, Version 3.12.0, and stamped with that same /home/abui.../zdrvrf4.f(3) footer at the bottom, because the manpage said so and we don't argue with the manpage around here 😌🫢

go forth and test those RFP routines, iykyk πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from