TESTING/LIN/cdrvhe_rk.f(3)

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

πŸŽ€ NAME πŸŽ€

TESTING/LIN/cdrvhe_rk.f β€” bestie, this is the LAPACK test-driver file (manual name: Library Functions Manual), and it's literally the whole vibe of "does CHESV_RK actually work or are we just trusting it" πŸ’…


✨ SYNOPSIS ✨

🌸 Functions/Subroutines

  • subroutine cdrvhe_rk (dotype, nn, nval, nrhs, thresh, tsterr, nmax, a, afac, e, ainv, b, x, xact, work, rwork, iwork, nout) β€” CDRVHE_RK, the main character πŸ‘‘
subroutine cdrvhe_rk (logical, dimension( * ) dotype, integer nn, integer,
    dimension( * ) nval, integer nrhs, real thresh, logical tsterr, integer
    nmax, complex, dimension( * ) a, complex, dimension( * ) afac, complex,
    dimension( * ) e, complex, dimension( * ) ainv, complex, dimension( * )
    b, complex, dimension( * ) x, complex, dimension( * ) xact, complex,
    dimension( * ) work, real, dimension( * ) rwork, integer, dimension( * )
    iwork, integer nout)

CDRVHE_RK β€” yep, that's the name again, no notes 🫢


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

🌈 Purpose

!>
!> CDRVHE_RK tests the driver routines CHESV_RK.
!>

okay so that's the whole job description: it runs the vibes check on CHESV_RK's driver routines. That's it. That's the mission. periodt πŸ¦‹


⭐ Parameters ⭐

  • 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. β€” it's your guest list, bestie: type j gets tested only if DOTYPE(j) is .TRUE.; if it's .FALSE. then type j is literally not invited to the function πŸ’€
  • NN β€” !> NN is INTEGER !> The number of values of N contained in the vector NVAL. β€” how many N values are sitting in NVAL. simple as πŸ“
  • NVAL β€” !> NVAL is INTEGER array, dimension (NN) !> The values of the matrix dimension N. β€” the actual N values, i.e. the matrix dimensions we're serving looks at πŸ”₯
  • NRHS β€” !> NRHS is INTEGER !> The number of right hand side vectors to be generated for !> each linear system. β€” how many right-hand-side vectors get generated per linear system, no cap 🧚
  • 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. β€” the gatekeeper πŸšͺ a result makes it into the output file only if RESULT >= THRESH. want every single test ratio printed? set THRESH = 0. icon behavior.
  • TSTERR β€” !> TSTERR is LOGICAL !> Flag that indicates whether error exits are to be tested. β€” a flag saying whether we're testing the error exits too πŸ™ˆ
  • NMAX β€” !> NMAX is INTEGER !> The maximum value permitted for N, used in dimensioning the !> work arrays. β€” the max allowed N, and it's what sizes the work arrays πŸ’œ
  • A β€” !> A is COMPLEX array, dimension (NMAX*NMAX) β€” the matrix itself, COMPLEX, sized (NMAX*NMAX) ✨
  • AFAC β€” !> AFAC is COMPLEX array, dimension (NMAX*NMAX) β€” the factored version of A, COMPLEX, sized (NMAX*NMAX) πŸ’…
  • E β€” !> E is COMPLEX array, dimension (NMAX) β€” COMPLEX, dimension (NMAX), short and sweet πŸŽ€
  • AINV β€” !> AINV is COMPLEX array, dimension (NMAX*NMAX) β€” the inverse-ish storage, COMPLEX, dimension (NMAX*NMAX) πŸ”₯
  • B β€” !> B is COMPLEX array, dimension (NMAX*NRHS) β€” COMPLEX, dimension (NMAX*NRHS) β€” the right-hand sides live here πŸ¦‹
  • X β€” !> X is COMPLEX array, dimension (NMAX*NRHS) β€” COMPLEX, dimension (NMAX*NRHS), the computed solution spot 🌸
  • XACT β€” !> XACT is COMPLEX array, dimension (NMAX*NRHS) β€” COMPLEX, dimension (NMAX*NRHS) β€” the exact solution, for comparison purposes πŸ‘‘
  • WORK β€” !> WORK is COMPLEX array, dimension (NMAX*max(2,NRHS)) β€” COMPLEX, dimension (NMAX*max(2,NRHS)) β€” note that max(2,NRHS), don't forget it 😭
  • RWORK β€” !> RWORK is REAL array, dimension (NMAX+2*NRHS) β€” REAL this time, dimension (NMAX+2*NRHS) 🌈
  • IWORK β€” !> IWORK is INTEGER array, dimension (NMAX) β€” INTEGER, dimension (NMAX) ⭐
  • NOUT β€” !> NOUT is INTEGER !> The unit number for output. β€” the unit number where all the output goes πŸ“€

πŸ‘‘ Author πŸ‘‘

Univ. of Tennessee

Univ. of California Berkeley

Univ. of Colorado Denver

NAG Ltd.


πŸ’« Definition πŸ’«

Definition at line 155 of file cdrvhe_rk.f.


🧚 Author (again, yes, iconic of them) 🧚

Generated automatically by Doxygen for LAPACK from the source code.


fr fr that's the whole page β€” no skips, no summaries, every parameter accounted for πŸ’―

and that's a wrap bestie!! 🫢 this absolute legend of a manpage was brought to you by LAPACK, Version 3.12.0, rendered all pretty for TESTING/LIN/cdrvhe_rk.f(3) β€” slay, go test that solver πŸ’…βœ¨

πŸ“¦ where this page comes from