TESTING/LIN/dchkpt.f(3)
π TESTING/LIN/dchkpt.f β like, the whole manual, but make it make sense
okay bestie, so this is TESTING/LIN/dchkpt.f, straight out of the LAPACK manual (Doxygen-generated, no cap). It's a test-driver routine from the TESTING/LIN folder and honestly it's the kind of file that only shows up when someone's already deep in the linear-algebra trenches. Let's get into it β¨
β¨ NAME β¨
TESTING/LIN/dchkpt.f β that's the whole name, that's the whole vibe. It's a Fortran file that lives in the TESTING/LIN directory and it's here to check your symmetric positive-definite tridiagonal routines π₯
π¦ SYNOPSIS π¦
Functions/Subroutines
subroutine dchkpt (dotype, nn, nval, nns, nsval, thresh, tsterr, a, d, e, b, x, xact, work, rwork, nout)β the one and only, the main character herself.DCHKPT.
πΈ Function/Subroutine Documentation πΈ
Here's the full signature with every type and dimension spelled out, exactly as it lives in the file β don't come for me, I'm just the messenger π«Ά
subroutine dchkpt (logical, dimension( * ) dotype, integer nn, integer,
dimension( * ) nval, integer nns, integer, dimension( * ) nsval, double
precision thresh, logical tsterr, double precision, dimension( * ) a,
double precision, dimension( * ) d, double precision, dimension( * ) e,
double precision, dimension( * ) b, double precision, dimension( * ) x,
double precision, dimension( * ) xact, double precision, dimension( * )
work, double precision, dimension( * ) rwork, integer nout)
DCHKPT π
π Purpose π
!>
!> DCHKPT tests DPTTRF, -TRS, -RFS, and -CON
!>
that's it, that's the job. She tests DPTTRF, DPTTRS, DPTRFS, and DPTCON. Four routines, one girl, zero chill. slay π
π 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.
!>
so this is a LOGICAL array of dimension (NTYPES) and it's basically the guest list ποΈ matrix type j (for 1 <= j <= NTYPES) gets tested if DOTYPE(j) = .TRUE. β and if DOTYPE(j) = .FALSE., type j is not used, periodt. not invited. blocked. π
NN
!> NN is INTEGER
!> The number of values of N contained in the vector NVAL.
!>
NN is INTEGER and it's literally just how many values of N are chilling inside the vector NVAL. a headcount, basically πββοΈ
NVAL
!> NVAL is INTEGER array, dimension (NN)
!> The values of the matrix dimension N.
!>
NVAL is an INTEGER array of dimension (NN) holding the values of the matrix dimension N. the actual sizes, the main characters of size π
NNS
!> NNS is INTEGER
!> The number of values of NRHS contained in the vector NSVAL.
!>
NNS is INTEGER β the number of values of NRHS contained in the vector NSVAL. same energy as NN but for right-hand sides β¨
NSVAL
!> NSVAL is INTEGER array, dimension (NNS)
!> The values of the number of right hand sides NRHS.
!>
NSVAL is an INTEGER array of dimension (NNS) and it holds the values of the number of right hand sides NRHS. how many RHS we serving today π
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.
!>
THRESH is DOUBLE PRECISION β the threshold value for the test ratios. a result makes it into the output file only if RESULT >= THRESH. and listen: if you want every single test ratio printed, use THRESH = 0. that's the "let me see everything" setting, iykyk π
TSTERR
!> TSTERR is LOGICAL
!> Flag that indicates whether error exits are to be tested.
!>
TSTERR is LOGICAL β a flag that tells you whether error exits are to be tested. on or off, bestie π¦
A
!> A is DOUBLE PRECISION array, dimension (NMAX*2)
!>
A is a DOUBLE PRECISION array, dimension (NMAX*2). that's it, that's the whole description π
D
!> D is DOUBLE PRECISION array, dimension (NMAX*2)
!>
D is a DOUBLE PRECISION array, dimension (NMAX*2). iconic, no notes π
E
!> E is DOUBLE PRECISION array, dimension (NMAX*2)
!>
E is a DOUBLE PRECISION array, dimension (NMAX*2). the trio is complete π
B
!> B is DOUBLE PRECISION array, dimension (NMAX*NSMAX)
!> where NSMAX is the largest entry in NSVAL.
!>
B is a DOUBLE PRECISION array, dimension (NMAX*NSMAX) β and where NSMAX is the largest entry in NSVAL, in case you were wondering π
X
!> X is DOUBLE PRECISION array, dimension (NMAX*NSMAX)
!>
X is a DOUBLE PRECISION array, dimension (NMAX*NSMAX). yes, same dimensions as B, they're matching π«Ά
XACT
!> XACT is DOUBLE PRECISION array, dimension (NMAX*NSMAX)
!>
XACT is a DOUBLE PRECISION array, dimension (NMAX*NSMAX). the exact one. hence the name. she's precise π
WORK
!> WORK is DOUBLE PRECISION array, dimension
!> (NMAX*max(3,NSMAX))
!>
WORK is a DOUBLE PRECISION array, dimension (NMAX*max(3,NSMAX)) β note the max(3,NSMAX) because she's flexible like that β
RWORK
!> RWORK is DOUBLE PRECISION array, dimension
!> (max(NMAX,2*NSMAX))
!>
RWORK is a DOUBLE PRECISION array, dimension (max(NMAX,2*NSMAX)). yes it's also DOUBLE PRECISION, don't ask, that's just how this file rolls π
NOUT
!> NOUT is INTEGER
!> The unit number for output.
!>
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.
the whole squad, respect where respect is due π«‘
Definition at line 144 of file dchkpt.f.
π Author (again, but the meta one) π
Generated automatically by Doxygen for LAPACK from the source code. not a human, just a robot doing her little documentation dance π€β¨
π real talk: this page was auto-generated from source, so if something here looks terse, that's because the original comments are terse. I kept every single one of them exactly as written, no cap.
and that's the whole page bestie, we ate and left absolutely no crumbs π
LAPACK β Version 3.12.0 β TESTING/LIN/dchkpt.f(3) β mwah, that's the version and the date, consider yourself signed off with a kiss ππ
π¦ where this page comes from
- arch rolling: lapack-doc 3.12.1-2 Β· custom
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms