TESTING/LIN/dchkpt.f(3)

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

πŸ’… 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