CCHKTB(3)

πŸ“¦ version 3.12.0, in opensuse-leap 16.0

πŸ’… NAME

okay so bestie, this is cchktb.f(3) β€” like, the whole entire file lives at /home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/TESTING/LIN/cchktb.f and honestly? she's a whole library function, not a main character of her own. we're just here to read about her πŸ’–

✨ SYNOPSIS

πŸŽ€ Functions/Subroutines

subroutine CCHKTB (dotype, nn, nval, nns, nsval, thresh, tsterr, nmax,
    ab, ainv, b, x, xact, work, rwork, nout)
    CCHKTB

like, that's the whole vibe. one subroutine, sixteen arguments, no cap 🫢

πŸ¦‹ Function/Subroutine Documentation

subroutine CCHKTB (logical, dimension( * ) dotype, integer nn, integer,
    dimension( * ) nval, integer nns, integer, dimension( * ) nsval, real
    thresh, logical tsterr, integer nmax, complex, dimension( * ) ab,
    complex, dimension( * ) ainv, complex, dimension( * ) b, complex,
    dimension( * ) x, complex, dimension( * ) xact, complex, dimension( * )
    work, real, dimension( * ) rwork, integer nout)

CCHKTB β€” that's her full signature, typed out exactly, iykyk ✨

🌸 Purpose

!>
!> CCHKTB tests CTBTRS, -RFS, and -CON, and CLATBS.
!>

literally that's it, that's the job. she's the vibe-check for CTBTRS, -RFS, -CON, and CLATBS. a test driver, an icon, a legend πŸ”₯

πŸ’œ 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 giving "guest list at the function." matrix type j, for 1 <= j <= NTYPES, gets to come in and be tested only if DOTYPE(j) = .TRUE. β€” if DOTYPE(j) = .FALSE., type j is not used, sorry bestie, not on the list πŸ™ˆ

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

how many N values are chilling inside NVAL. that's it. that's the whole tea β˜•

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

the actual N values β€” the matrix column dimension. the moment of truth πŸ’…

  • NNS
!>          NNS is INTEGER
!>          The number of values of NRHS contained in the vector NSVAL.
!>

same energy as NN, but for NRHS. how many values of NRHS are sitting in NSVAL πŸŽ€

  • NSVAL
!>          NSVAL is INTEGER array, dimension (NNS)
!>          The values of the number of right hand sides NRHS.
!>

the values of the number of right hand sides, NRHS. right hand sides have never looked so cute 🌸

  • 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 threshold for the test ratios! a result makes it into the output file only if RESULT >= THRESH. wanna see every single ratio printed? set THRESH = 0, she's not gatekeeping 😌

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

a flag: are we testing error exits or not? that's the assignment πŸ”

  • NMAX
!>          NMAX is INTEGER
!>          The leading dimension of the work arrays.
!>          NMAX >= the maximum value of N in NVAL.
!>

leading dimension of the work arrays. important: NMAX >= the maximum value of N in NVAL. like, respect the rule or things get weird ⚠️

  • AB
!>          AB is COMPLEX array, dimension (NMAX*NMAX)
!>

COMPLEX array, dims (NMAX*NMAX). that's the whole description, she doesn't overshare 🫢

  • AINV
!>          AINV is COMPLEX array, dimension (NMAX*NMAX)
!>

also COMPLEX, also (NMAX*NMAX). twins fr fr πŸ‘―

  • B
!>          B is COMPLEX array, dimension (NMAX*NSMAX)
!>          where NSMAX is the largest entry in NSVAL.
!>

COMPLEX array of dims (NMAX*NSMAX), and NSMAX is the largest entry in NSVAL. keep that in mind bestie ⭐

  • X
!>          X is COMPLEX array, dimension (NMAX*NSMAX)
!>

COMPLEX, (NMAX*NSMAX). short and iconic πŸ’…

  • XACT
!>          XACT is COMPLEX array, dimension (NMAX*NSMAX)
!>

COMPLEX, (NMAX*NSMAX), the exact one. the actual one, if you will 😭

  • WORK
!>          WORK is COMPLEX array, dimension
!>                      (NMAX*max(3,NSMAX))
!>

COMPLEX array, dims (NMAX*max(3,NSMAX)) β€” note the max(3,NSMAX) because she's flexible like that 🧚

  • RWORK
!>          RWORK is REAL array, dimension
!>                      (max(NMAX,2*NSMAX))
!>

REAL this time, dims (max(NMAX,2*NSMAX)). the real one (literally) 🌈

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

the unit number for output. where the results go to be seen πŸ“¬

πŸ‘‘

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

all the authors, listed, no skipping πŸ’–

🎯

Definition at line 147 of file cchktb.f. yes, line one-four-seven. go look, she's there πŸ¦‹

⭐ Author

Generated automatically by Doxygen for LAPACK from the source code. so like, not a human, a robot wrote this β€” and honestly? she ate πŸ‘‘


and that's the whole page bestie πŸŽ€ written by the lovely folks at LAPACK, Version 3.12.0, dated /home/abui...IN/cchktb.f(3) β€” mwah, go test some CTBTRS for me πŸ’‹βœ¨

πŸ“¦ where this page comes from