TESTING/EIG/sckcsd.f(3)

๐Ÿ“ฆ
version 3.12.1 ยท 3 versions
, in arch rolling

๐Ÿ’… 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 vector MVAL. ๐Ÿ”ข
  • 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. If NMATS >= NTYPES (the maximum number of matrix types), then all the different types are generated for testing. If NMATS < 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, and ISEED(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 if RESULT >= THRESH. To have every test ratio printed, use THRESH = 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 : If SLAROR returns 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