CDRVSY(3)

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

πŸ’– NAME πŸ’–

okay so bestie, this whole page is literally just about one file β€” it's in the Library Functions Manual and the name is:

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

that's it, that's the name, it's giving "my full legal name on a government form" energy πŸ’…


🌸 SYNOPSIS 🌸

Functions/Subroutines

here's the lil shortcut version, the one you'd actually type:

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

CDRVSY β€” that's her, that's the main character πŸ‘‘


✨ Function/Subroutine Documentation ✨

and here's the FULL glow-up version with every single type and dimension spelled out, no skimping:

subroutine CDRVSY (logical, dimension( * ) dotype, integer nn, integer,
    dimension( * ) nval, integer nrhs, 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)

CDRVSY 🫢

πŸŽ€ Purpose πŸŽ€

so what does she DO? bestie:

CDRVSY tests the driver routines CSYSV and -SVX.

that's the whole purpose. she's a tester. she runs the vibes check on CSYSV and -SVX and reports back πŸ”₯

πŸ¦‹ Parameters πŸ¦‹

buckle up, there's a whole roster β€” but every one of them matters, no skipping πŸ™ˆ

DOTYPE

DOTYPE is LOGICAL array, dimension (NTYPES).

it's the guest list β€” 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 basically DOTYPE(j) is the "you're invited" / "not on the list, sorry" toggle 🎟️

NN

NN is INTEGER.

the number of values of N contained in the vector NVAL.

NVAL

NVAL is INTEGER array, dimension (NN).

the values of the matrix dimension N. all the sizes we're gonna try ✨

NRHS

NRHS is INTEGER.

the number of right hand side vectors to be generated for each linear system. yes, plural, we're generating a whole crowd of them.

THRESH

THRESH is REAL.

the threshold value for the test ratios. a result is included in the output file if RESULT >= THRESH. and β€” super important, don't miss this β€” to have every test ratio printed, use THRESH = 0. periodt. πŸ’…

TSTERR

TSTERR is LOGICAL.

flag that indicates whether error exits are to be tested. yes queen, test the errors too, we love a thorough icon.

NMAX

NMAX is INTEGER.

the maximum value permitted for N, used in dimensioning the work arrays. she's the ceiling, she's the limit πŸ‘‘

A

A is COMPLEX array, dimension (NMAX*NMAX).

AFAC

AFAC is COMPLEX array, dimension (NMAX*NMAX).

AINV

AINV is COMPLEX array, dimension (NMAX*NMAX).

B

B is COMPLEX array, dimension (NMAX*NRHS).

X

X is COMPLEX array, dimension (NMAX*NRHS).

XACT

XACT is COMPLEX array, dimension (NMAX*NRHS).

WORK

WORK is COMPLEX array, dimension (NMAX*max(2,NRHS)).

(that's max(2,NRHS) β€” literally max, not a typo, she's conditional like that πŸ¦‹)

RWORK

RWORK is REAL array, dimension (NMAX+2*NRHS).

IWORK

IWORK is INTEGER array, dimension (NMAX).

NOUT

NOUT is INTEGER.

the unit number for output. that's where the receipts go 🧾


πŸ‘‘ Author πŸ‘‘

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

the whole group chat wrote this one ngl 🫢


Definition at line 150 of file cdrvsy.f.

⭐ Author ⭐

Generated automatically by Doxygen for LAPACK from the source code. not a human, a robot, and honestly she ate πŸ€–βœ¨


okay that's the whole page bestie β€” LAPACK, Version 3.12.0, and the source path on the footer was /home/abui...IN/cdrvsy.f(3) (they truncated it, iykyk 😭). love u, go run your tests πŸ’œπŸŽ€

πŸ“¦ where this page comes from