CCHKSP(3)

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

πŸ’… CCHKSP(3) β€” like, the LAPACK testing queen arrives

okay bestie, so this page is from the LAPACK manual (section 3, library functions), and the file it lives in is literally:

/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/TESTING/LIN/cchksp.f

yes that whole entire path is the NAME. it's giving "my full government name" energy 😭 but that's literally what it is, no cap.


✨ SYNOPSIS ✨

Functions/Subroutines 🫢

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

CCHKSP β€” that's the icon, that's the main character πŸ‘‘


πŸŽ€ Function/Subroutine Documentation πŸŽ€

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

CCHKSP

Purpose: πŸ’–

CCHKSP tests CSPTRF, -TRI, -TRS, -RFS, and -CON

like, it's the vibe-checker for five whole routines. it puts them through it. 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 the guest list bestie πŸ’… type j is either invited (.TRUE.) or not (.FALSE.), simple as.

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

how many N's we bringing to the party.

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

the actual N values themselves. the sizes. the lewks. ✨

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

same deal but for right-hand sides, iykyk.

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

all the NRHS values, lined up and ready.

  • 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.

so like, if you're nosy and want everything printed, set it to 0. full transparency slay πŸ”

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

are we testing the error paths too? yes or no, that's the flag.

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

the ceiling. the limit. used to size the work arrays so nothing overflows πŸ™ˆ

  • A
A is COMPLEX array, dimension (NMAX*(NMAX+1)/2)
  • AFAC
AFAC is COMPLEX array, dimension (NMAX*(NMAX+1)/2)
  • AINV
AINV is COMPLEX array, dimension (NMAX*(NMAX+1)/2)
  • B
B is COMPLEX array, dimension (NMAX*NSMAX) where NSMAX is the largest entry in NSVAL.

ok note that NSMAX detail β€” it's the biggest value in NSVAL, not a variable you pass. got it? 🫢

  • X
X is COMPLEX array, dimension (NMAX*NSMAX)
  • XACT
XACT is COMPLEX array, dimension (NMAX*NSMAX)
  • WORK
WORK is COMPLEX array, dimension (NMAX*max(2,NSMAX))

yes max(2,NSMAX) β€” two is the floor, she never goes lower πŸ’€

  • RWORK
RWORK is REAL array, dimension (NMAX+2*NSMAX)
  • IWORK
IWORK is INTEGER array, dimension (NMAX)
  • NOUT
NOUT is 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.

college collaboration fr fr πŸŽ“

Definition at line 161 of file cchksp.f.


🌈 Author (again, the meta one) 🌈

Generated automatically by Doxygen for LAPACK from the source code.

not a human typing this out β€” Doxygen just spawned it, iconic automated behavior honestly πŸ€–βœ¨


~ cute lil sign-off ~ πŸ¦‹

this whole glow-up is brought to you by LAPACK, Version 3.12.0, and the page's own little footer stamp: /home/abui...IN/cchksp.f(3). mwah πŸ’‹ go test those routines bestie, you got this πŸ«ΆπŸ’–

πŸ“¦ where this page comes from