TESTING/LIN/sdrvsy.f(3)

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

πŸ’… TESTING/LIN/sdrvsy.f

okay so bestie, welcome to TESTING/LIN/sdrvsy.f β€” this lives in the LAPACK manual, section 3 of the testing/lin area, and it's literally the vibe check for a whole family of solvers. iykyk 🫢


✨ SYNOPSIS ✨

πŸŽ€ Functions/Subroutines

  • subroutine sdrvsy (dotype, nn, nval, nrhs, thresh, tsterr, nmax, a, afac, ainv, b, x, xact, work, rwork, iwork, nout) β€” SDRVSY, the main character herself 🌟

🌸 Function/Subroutine Documentation 🌸

subroutine sdrvsy (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 πŸ¦‹

⭐ Purpose:

fortran !> !> SDRVSY tests the driver routines SSYSV and -SVX. !>

no cap, that's the whole plot: she puts SSYSV and -SVX through their paces. πŸ’…


πŸ‘‘ Parameters

πŸ’– DOTYPE

fortran !> 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 <italic>j</italic> going from 1 to NTYPES β€” if DOTYPE(j) is .TRUE. she tests that matrix type, and if it's .FALSE. she's like "not today" and skips type <italic>j</italic>. periodt ✨

🌈 NN

fortran !> NN is INTEGER !> The number of values of N contained in the vector NVAL. !>

it's an INTEGER, bestie β€” how many values of N are sitting in the vector NVAL. that's it. πŸŽ€

πŸ“ NVAL

fortran !> NVAL is INTEGER array, dimension (NN) !> The values of the matrix dimension N. !>

INTEGER array, dimension (NN), and it holds the actual values of the matrix dimension N. the whole point of the function fr fr πŸ’œ

🧚 NRHS

fortran !> NRHS is INTEGER !> The number of right hand side vectors to be generated for !> each linear system. !>

INTEGER β€” how many right hand side vectors get generated for each linear system. the way she generates RHS vectors for every single system… obsessed 😭

πŸ’€ THRESH

fortran !> 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. !>

REAL, and lowkey the bouncer at the club πŸšͺ: a result only makes it into the output file if RESULT >= THRESH. want every test ratio printed? set THRESH = 0. iconic.

🌸 TSTERR

fortran !> TSTERR is LOGICAL !> Flag that indicates whether error exits are to be tested. !>

LOGICAL flag β€” .TRUE. means yes bestie, test those error exits too. πŸ™ˆ

πŸ”₯ NMAX

fortran !> NMAX is INTEGER !> The maximum value permitted for N, used in dimensioning the !> work arrays. !>

INTEGER, the max value allowed for N, and she's the one everyone sizes their work arrays by. main character energy for real πŸ‘‘

🩷 A

fortran !> A is REAL array, dimension (NMAX*NMAX) !>

REAL array, dimension (NMAX*NMAX). πŸ’…

πŸ’« AFAC

fortran !> AFAC is REAL array, dimension (NMAX*NMAX) !>

REAL array, dimension (NMAX*NMAX). ✨

πŸ¦‹ AINV

fortran !> AINV is REAL array, dimension (NMAX*NMAX) !>

REAL array, dimension (NMAX*NMAX). 🌈

πŸŽ€ B

fortran !> B is REAL array, dimension (NMAX*NRHS) !>

REAL array, dimension (NMAX*NRHS). πŸ’–

πŸ“ X

fortran !> X is REAL array, dimension (NMAX*NRHS) !>

REAL array, dimension (NMAX*NRHS). ⭐

🧚 XACT

fortran !> XACT is REAL array, dimension (NMAX*NRHS) !>

REAL array, dimension (NMAX*NRHS). 🫢

πŸ’œ WORK

fortran !> WORK is REAL array, dimension (NMAX*max(2,NRHS)) !>

REAL array, dimension (NMAX*max(2,NRHS)) β€” note that max(2,NRHS) bestie, she's not playing around. 😌

🌸 RWORK

fortran !> RWORK is REAL array, dimension (NMAX+2*NRHS) !>

REAL array, dimension (NMAX+2*NRHS). πŸŽ€

πŸ”₯ IWORK

fortran !> IWORK is INTEGER array, dimension (2*NMAX) !>

INTEGER array, dimension (2*NMAX). πŸ’€

πŸ‘‘ NOUT

fortran !> NOUT is INTEGER !> The unit number for output. !>

INTEGER β€” the unit number for output. where the receipts get printed. 🧾


🫢 Author

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

⭐ Definition at line 149 of file sdrvsy.f.


🌟 Author

Generated automatically by Doxygen for LAPACK from the source code.


and that's the whole page, bestie β€” no skips, no crumbs. sending you off with the official sign-off: LAPACK, Version 3.12.0, dated with the TESTING/LIN/sdrvsy.f(3) footer energy. slay, read the docs, hydrate πŸ’…βœ¨πŸŽ€

πŸ“¦ where this page comes from