TESTING/LIN/schkpb.f(3)

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

🌸 TESTING/LIN/schkpb.f β€” the LAPACK one πŸ’…

okay bestie, so this is TESTING/LIN/schkpb.f, a page from the Library Functions Manual, and it's literally the vibe check for the symmetric positive-definite band routines. like it's the test driver. it does not do math at you, it judges the math. πŸŽ€


✨ SYNOPSIS ✨

Functions/Subroutines β€” the main character 🫢

subroutine schkpb (dotype, nn, nval, nnb, nbval, nns, nsval, thresh,
    tsterr, nmax, a, afac, ainv, b, x, xact, work, rwork, iwork, nout)

SCHKPB β€” periodt. that's the name, no notes. πŸ‘‘


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

subroutine schkpb (logical, dimension( * ) dotype, integer nn, integer,
    dimension( * ) nval, integer nnb, integer, dimension( * ) nbval, integer
    nns, integer, dimension( * ) nsval, 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)

SCHKPB

πŸ¦‹ Purpose πŸ¦‹

!> !> SCHKPB tests SPBTRF, -TRS, -RFS, and -CON. !>

yup. that's the whole assignment. it's out here putting SPBTRF, SPBTRS, SPBRFS and SPBCON through their paces β€” four routines, one glow-up arc. πŸ’€


πŸŽ€ Parameters πŸŽ€

like, every single one, no skipping, i would never πŸ™ˆ

  • DOTYPE β€” LOGICAL array, dimension (NTYPES). the matrix types to be used for testing, bestie. 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 giving guest list. πŸ’…
  • NN β€” INTEGER. the number of values of N contained in the vector NVAL. simply the count. ⭐
  • NVAL β€” INTEGER array, dimension (NN). the values of the matrix dimension N. slay, dimensions. 🌈
  • NNB β€” INTEGER. the number of values of NB contained in the vector NBVAL. yes another count, she contains multitudes. ✨
  • NBVAL β€” INTEGER array, dimension (NNB). the values of the blocksize NB. block it out. 🧱
  • NNS β€” INTEGER. the number of values of NRHS contained in the vector NSVAL. third count, third crown. πŸ‘‘
  • NSVAL β€” INTEGER array, dimension (NNS). the values of the number of right hand sides NRHS. the right-hand sides are the moment, ngl. πŸ“
  • THRESH β€” 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. yes really, zero means everything gets printed. no filter, no chill. πŸ’€
  • TSTERR β€” LOGICAL. flag that indicates whether error exits are to be tested. we love a flag. 🚩
  • NMAX β€” INTEGER. the maximum value permitted for N, used in dimensioning the work arrays. she's the ceiling and the blueprint. πŸ”₯
  • A β€” REAL array, dimension (NMAX*NMAX). 🫢
  • AFAC β€” REAL array, dimension (NMAX*NMAX). 🫢
  • AINV β€” REAL array, dimension (NMAX*NMAX). 🫢
  • B β€” REAL array, dimension (NMAX*NSMAX), where NSMAX is the largest entry in NSVAL. good to know, noted. πŸ“
  • X β€” REAL array, dimension (NMAX*NSMAX). πŸ’œ
  • XACT β€” REAL array, dimension (NMAX*NSMAX). the exact one, the standard, the reference. iconic. ⭐
  • WORK β€” REAL array, dimension (NMAX*max(3,NSMAX)). look at that nesting, she's fancy. 🌸
  • RWORK β€” REAL array, dimension (max(NMAX,2*NSMAX)). the R stands for real, the max stands for math i'm not doing. 😭
  • IWORK β€” INTEGER array, dimension (NMAX). the integer friend in the group chat. πŸ¦‹
  • NOUT β€” INTEGER. the unit number for output. where the receipts get written. 🧾

πŸ‘‘ Author πŸ‘‘

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

four institutions, one subroutine, an absolute collab. 🀝

Definition at line 169 of file schkpb.f. so if you're scrolling, that's where she lives. πŸ“

🌟 Author (again, the meta one) 🌟

Generated automatically by Doxygen for LAPACK from the source code. so technically the robot wrote it, but the vibes are all ours bestie. 🧚


okay that's the whole page, and if you made it this far you're lowkey a LAPACK scholar now, no cap. this masterpiece came to you from LAPACK, Version 3.12.0 (footer said TESTING/LIN/schkpb.f(3) and we respect the footer), so go test those band matrices and slay, iykyk. πŸ«ΆπŸ’–βœ¨

πŸ“¦ where this page comes from