TESTING/LIN/sdrvsy_aa.f(3)

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

πŸ’… TESTING/LIN/sdrvsy_aa.f

okay so bestie, this is a page from the LAPACK manual β€” like, the library's own docs, generated from the source πŸ’– β€” and it's all about one very specific little Fortran subroutine. Let's get into it.


✨ SYNOPSIS ✨

Functions/Subroutines

  • subroutine sdrvsy_aa (dotype, nn, nval, nrhs, thresh, tsterr, nmax, a, afac, ainv, b, x, xact, work, rwork, iwork, nout) β€” literally the whole function, and its name is SDRVSY_AA πŸŽ€

πŸ¦‹ Function/Subroutine Documentation πŸ¦‹

the actual signature, no cap

subroutine sdrvsy_aa (logical, dimension( * ) dotype, integer nn, integer,
    dimension( * ) nval, integer nrhs, real thresh, logical tsterr, integer
    nmax, real, dimension( * ) a, real, dimension( * ) afac, real,
    dimension( * ) ainv, real, dimension( * ) b, real, dimension( * ) x,
    real, dimension( * ) xact, real, dimension( * ) work, real, dimension( *
    ) rwork, integer, dimension( * ) iwork, integer nout)

SDRVSY_AA β€” that's her name, that's her whole vibe 🌸


🎯 Purpose 🎯

SDRVSY_AA tests the driver routine SSYSV_AA.

that's it. that's the job. she's a test driver for SSYSV_AA, and she takes it very seriously ✨


🌈 Parameters 🌈

okay so this is the long part, but every single one matters, don't skip πŸ‘‘

  • DOTYPE β€” DOTYPE is LOGICAL array, dimension (NTYPES). The matrix types to be used for testing. Matrices of type j (for 1 <= j <= NTYPES) are used for testing if DOTYPE(j) = .TRUE.; if DOTYPE(j) = .FALSE., then type j is not used. so basically a little to-do list of which matrix types get to come to the party πŸŽ‰
  • NN β€” NN is INTEGER. The number of values of N contained in the vector NVAL.
  • NVAL β€” NVAL is INTEGER array, dimension (NN). The values of the matrix dimension N. these are the sizes we're testing, live and in color πŸ’…
  • NRHS β€” NRHS is INTEGER. The number of right hand side vectors to be generated for each linear system.
  • THRESH β€” THRESH is REAL. 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. πŸ‘ˆ set it to zero if you want the full tea, fr fr
  • TSTERR β€” TSTERR is LOGICAL. Flag that indicates whether error exits are to be tested. lowkey the "do we test the failure paths" switch 🚩
  • NMAX β€” NMAX is INTEGER. The maximum value permitted for N, used in dimensioning the work arrays. she's the ceiling, the limit, the moment ✨
  • A β€” A is REAL array, dimension (NMAX*NMAX).
  • AFAC β€” AFAC is REAL array, dimension (NMAX*NMAX).
  • AINV β€” AINV is REAL array, dimension (NMAX*NMAX).
  • B β€” B is REAL array, dimension (NMAX*NRHS).
  • X β€” X is REAL array, dimension (NMAX*NRHS).
  • XACT β€” XACT is REAL array, dimension (NMAX*NRHS).
  • WORK β€” WORK is REAL array, dimension (NMAX*max(2,NRHS)). note the max(2,NRHS) bestie, that's important πŸ”₯
  • RWORK β€” RWORK is REAL array, dimension (NMAX+2*NRHS).
  • IWORK β€” IWORK is INTEGER array, dimension (2*NMAX).
  • NOUT β€” NOUT is INTEGER. The unit number for output. where all the results go to be seen πŸ“¬

πŸ‘‘ Author πŸ‘‘

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

absolute legends, all of them 🫢

Definition at line 149 of file sdrvsy_aa.f. (iykyk, go look at line 149 if you want the real thing πŸ‘€)

πŸŽ€ Author πŸŽ€

Generated automatically by Doxygen for LAPACK from the source code. so nobody hand-wrote this bad boy β€” Doxygen did it for us, and honestly? slay πŸ€–πŸ’–


okay that's the whole page!! πŸ’œ and before you go β€” this was LAPACK, Version 3.12.0, dated with all the TESTING/LIN/sdrvsy_aa.f(3) energy. bye bestie, go test some symmetric matrices for me πŸ’…βœ¨πŸ“

πŸ“¦ where this page comes from