TESTING/LIN/cdrvsp.f(3)
This is the manual page for TESTING/LIN/cdrvsp.f, from the Library Functions Manual β yes, the whole page is about one subroutine and it's lowkey iconic. π
π NAME
TESTING/LIN/cdrvsp.f β that's the page, bestie. The star of the show is CDRVSP, the test-driver subroutine. β¨
β¨ SYNOPSIS
Functions/Subroutines
subroutine cdrvsp (dotype, nn, nval, nrhs, thresh, tsterr, nmax, a,
afac, ainv, b, x, xact, work, rwork, iwork, nout)
CDRVSP
π¦ Function/Subroutine Documentation
Here's the full signature with all the types and dimensions laid out, no cap: π«Ά
subroutine cdrvsp (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)
CDRVSP
π Purpose
CDRVSP tests the driver routines CSPSV and -SVX. That's the whole purpose, periodt. No cap. π
πΈ Parameters
Every parameter, every dimension, every vibe β all here. π«Ά
DOTYPE
DOTYPE is a LOGICAL array, dimension (NTYPES). It's the matrix-type guest list: for type j (where 1 <= j <= NTYPES), matrix type j is used for testing if DOTYPE(j) = .TRUE.; if DOTYPE(j) = .FALSE., then type j is not used. Slay.
NN
NN is INTEGER. It's the number of values of N contained in the vector NVAL.
NVAL
NVAL is INTEGER array, dimension (NN). These are the values of the matrix dimension N.
NRHS
NRHS is INTEGER. It's the number of right hand side vectors to be generated for each linear system.
THRESH
THRESH is REAL. It's 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.
TSTERR
TSTERR is LOGICAL. Flag that indicates whether error exits are to be tested.
NMAX
NMAX is INTEGER. The maximum value permitted for N, used in dimensioning the work arrays.
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*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)).
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.
π Author
These are the author credits, exactly as listed:
Univ. of TennesseeUniv. of California BerkeleyUniv. of Colorado DenverNAG Ltd.
Definition at line 154 of file cdrvsp.f.
π Author
This page was generated automatically by Doxygen for LAPACK from the source code. π«Ά
That's the whole thing! Footer/source sign-off: LAPACK Version 3.12.0, for TESTING/LIN/cdrvsp.f(3) β bye bestie, go test those CSPSV and -SVX drivers πβ¨
π¦ 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