TESTING/EIG/sckcsd.f(3)
๐ TESTING/EIG/sckcsd.f โจ
okay bestie, welcome to TESTING/EIG/sckcsd.f, straight out of the LAPACK manual (Doxygen-generated, obviously) โ this is the level-3 test-suite energy and honestly? iconic. ๐
๐ธ SYNOPSIS ๐ธ
Functions/Subroutines
subroutine sckcsd (nm, mval, pval, qval, nmats, iseed, thresh, mmax, x, xf, u1, u2, v1t, v2t, theta, iwork, work, rwork, nin, nout, info)โ SCKCSD ๐subroutine slacsg (m, p, q, theta, iseed, x, ldx, work)
๐ฆ Function/Subroutine Documentation ๐ฆ
โจ subroutine sckcsd โจ
subroutine sckcsd (integer nm, integer, dimension( * ) mval, integer,
dimension( * ) pval, integer, dimension( * ) qval, integer nmats,
integer, dimension( 4 ) iseed, real thresh, integer mmax, real,
dimension( * ) x, real, dimension( * ) xf, real, dimension( * ) u1,
real, dimension( * ) u2, real, dimension( * ) v1t, real, dimension( * )
v2t, real, dimension( * ) theta, integer, dimension( * ) iwork, real,
dimension( * ) work, real, dimension( * ) rwork, integer nin, integer
nout, integer info)
SCKCSD ๐ซถ
๐ Purpose ๐
SCKCSD tests SORCSD: the CSD for an M-by-M orthogonal matrix X partitioned as [ X11 X12; X21 X22 ]. X11 is P-by-Q.
literally the whole vibe: it's the vibe check for SORCSD. ๐
๐ Parameters ๐
NMโNM is INTEGER. The number of values of M contained in the vectorMVAL. ๐ขMVALโMVAL is INTEGER array, dimension (NM). The values of the matrix row dimension M. ๐PVALโPVAL is INTEGER array, dimension (NM). The values of the matrix row dimension P. ๐QVALโQVAL is INTEGER array, dimension (NM). The values of the matrix column dimension Q. ๐NMATSโNMATS is INTEGER. The number of matrix types to be tested for each combination of matrix dimensions. IfNMATS >= NTYPES(the maximum number of matrix types), then all the different types are generated for testing. IfNMATS < NTYPES, another input line is read to get the numbers of the matrix types to be used. ๐งฎISEEDโISEED is INTEGER array, dimension (4). On entry, the seed of the random number generator. The array elements should be between 0 and 4095, otherwise they will be reduced mod 4096, andISEED(4)must be odd. On exit, the next seed in the random number sequence after all the test matrices have been generated. ๐ฒ (yes bestie,ISEED(4)must be odd โ that's not a suggestion ๐)THRESHโTHRESH is REAL. The threshold value for the test ratios. A result is included in the output file ifRESULT >= THRESH. To have every test ratio printed, useTHRESH = 0. ๐จMMAXโMMAX is INTEGER. The maximum value permitted for M, used in dimensioning the work arrays. ๐ฆXโX is REAL array, dimension (MMAX*MMAX)๐งXFโXF is REAL array, dimension (MMAX*MMAX)๐งU1โU1 is REAL array, dimension (MMAX*MMAX)๐งU2โU2 is REAL array, dimension (MMAX*MMAX)๐งV1TโV1T is REAL array, dimension (MMAX*MMAX)๐งV2TโV2T is REAL array, dimension (MMAX*MMAX)๐งTHETAโTHETA is REAL array, dimension (MMAX)๐บIWORKโIWORK is INTEGER array, dimension (MMAX)๐งWORKโWORK is REAL array๐ ๏ธRWORKโRWORK is REAL array๐ ๏ธNINโNIN is INTEGER. The unit number for input. โจ๏ธNOUTโNOUT is INTEGER. The unit number for output. ๐จ๏ธINFOโINFO is INTEGER. Exit status, and it's giving very specific:= 0: successful exit โ> 0: IfSLARORreturns an error code, the absolute value of it is returned. ๐ญ
๐ Author ๐
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 181 of file sckcsd.f. ๐
๐ง subroutine slacsg ๐ง
subroutine slacsg (integer m, integer p, integer q, real, dimension( * )
theta, integer, dimension( 4 ) iseed, real, dimension( ldx, * ) x,
integer ldx, real, dimension( * ) work)
Definition at line 349 of file sckcsd.f. ๐
โญ Author โญ
Generated automatically by Doxygen for LAPACK from the source code. ๐คโจ
LAPACK ยท Version 3.12.0 ยท TESTING/EIG/sckcsd.f(3)
and that's the whole page bestie, no cap ๐ go forth and test those CSD routines, slay ๐ซถ๐
๐ฆ 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