CCHKTB(3)
π 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
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms