TESTING/LIN/dchkpb.f(3)

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

πŸŽ€ TESTING/LIN/dchkpb.f(3) πŸŽ€

okay bestie, so this is a page from the LAPACK manual β€” yeah, that LAPACK, the linear algebra icon herself πŸ’… β€” and today's main character is TESTING/LIN/dchkpb.f, a file living down in TESTING/LIN/. Buckle up, we're doing Fortran testing energy today ✨


✨ SYNOPSIS ✨

Functions/Subroutines

  • subroutine dchkpb (dotype, nn, nval, nnb, nbval, nns, nsval, thresh, tsterr, nmax, a, afac, ainv, b, x, xact, work, rwork, iwork, nout) β€” that's the whole squad of arguments, and yes there are literally twenty of them, no cap 😭

Also: DCHKPB β€” the name itself, serving as the subtitle situation 🫢


πŸ’œ Function/Subroutine Documentation πŸ’œ

🌸 subroutine dchkpb

here's the full signature, written out exactly the way the source has it, because we do not mess with code around here 🧚

subroutine dchkpb (logical, dimension( * ) dotype, integer nn, integer,
    dimension( * ) nval, integer nnb, integer, dimension( * ) nbval, integer
    nns, integer, dimension( * ) nsval, double precision thresh, logical
    tsterr, integer nmax, double precision, dimension( * ) a, double
    precision, dimension( * ) afac, double precision, dimension( * ) ainv,
    double precision, dimension( * ) b, double precision, dimension( * ) x,
    double precision, dimension( * ) xact, double precision, dimension( * )
    work, double precision, dimension( * ) rwork, integer, dimension( * )
    iwork, integer nout)

DCHKPB β€” again, iconic, we love a self-named subroutine πŸ‘‘


🌟 Purpose:

DCHKPB tests DPBTRF, -TRS, -RFS, and -CON.

fr fr that's the entire purpose and it ate πŸ’…


πŸ¦‹ 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. lowkey a little yes/no list for which matrix types get to show up πŸ’–
  • NN β€” NN is INTEGER. The number of values of N contained in the vector NVAL. it's giving inventory count πŸŽ€
  • NVAL β€” NVAL is INTEGER array, dimension (NN). The values of the matrix dimension N. so like, all the sizes we're gonna try 🌸
  • NNB β€” NNB is INTEGER. The number of values of NB contained in the vector NBVAL. blocksize headcount, periodt ✨
  • NBVAL β€” NBVAL is INTEGER array, dimension (NNB). The values of the blocksize NB. every block size that gets a turn 🧚
  • NNS β€” NNS is INTEGER. The number of values of NRHS contained in the vector NSVAL. right-hand-side counter energy πŸ’«
  • NSVAL β€” NSVAL is INTEGER array, dimension (NNS). The values of the number of right hand sides NRHS. how many RHS we're testing, one by one 🫢
  • 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. so like, 0 means print absolutely everything, no filter, main character behaviour πŸ”₯
  • TSTERR β€” TSTERR is LOGICAL. Flag that indicates whether error exits are to be tested. a lil on/off switch for the error-path vibes πŸ’€
  • NMAX β€” NMAX is INTEGER. The maximum value permitted for N, used in dimensioning the work arrays. the ceiling, the limit, the moment 😌
  • A β€” A is DOUBLE PRECISION array, dimension (NMAX*NMAX) πŸŽ€
  • AFAC β€” AFAC is DOUBLE PRECISION array, dimension (NMAX*NMAX) πŸ¦‹
  • AINV β€” AINV is DOUBLE PRECISION array, dimension (NMAX*NMAX) 🌈
  • B β€” B is DOUBLE PRECISION array, dimension (NMAX*NSMAX) where NSMAX is the largest entry in NSVAL. okay so NSMAX is defined right here, noted, ty πŸ’–
  • X β€” X is DOUBLE PRECISION array, dimension (NMAX*NSMAX) ✨
  • XACT β€” XACT is DOUBLE PRECISION array, dimension (NMAX*NSMAX) 🌸
  • WORK β€” WORK is DOUBLE PRECISION array, dimension (NMAX*max(3,NSMAX)). there's a max(3,NSMAX) in there, keep it exactly like that 🧚
  • RWORK β€” RWORK is DOUBLE PRECISION array, dimension (max(NMAX,2*NSMAX)). yes the 2*NSMAX is real, don't @ me πŸ’…
  • IWORK β€” IWORK is INTEGER array, dimension (NMAX) ⭐
  • NOUT β€” NOUT is INTEGER. The unit number for output. where all the receipts get printed πŸŽ€

πŸ‘‘ Author

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

Definition at line 169 of file dchkpb.f.


🌈 Author

Generated automatically by Doxygen for LAPACK from the source code. (yes the robots wrote the docs, we just made them cute 🫢)


πŸ’– that's the whole page bestie, every param, every dimension, every NMAX*NSMAX preserved with love. go forth and test those band matrices πŸ’…

LAPACK Β· Version 3.12.0 Β· TESTING/LIN/dchkpb.f(3) β€” mwah, signed off with a kiss, no cap πŸ˜­πŸ’œπŸ¦‹

πŸ“¦ where this page comes from