SGET24(3)

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

okay bestie, this is SGET24(3) from the Library Functions Manual β€” and yes, the β€œname” today is literally a whole absolute source path. we are keeping every character, no cap. πŸ’…

✨ NAME ✨

/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/TESTING/EIG/sget24.f

that’s the NAME section, bestie. not a cute little command name β€” an entire file path. iconic behavior, honestly. πŸŽ€

🌸 SYNOPSIS 🌸

πŸ¦‹ Functions/Subroutines πŸ¦‹

the whole synopsis vibe is this one subroutine, and it brought so many arguments to the group chat:

Functions/Subroutines
    subroutine SGET24 (comp, jtype, thresh, iseed, nounit, n, a, lda, h, ht,
        wr, wi, wrt, wit, wrtmp, witmp, vs, ldvs, vs1, rcdein, rcdvin,
        nslct, islct, result, work, lwork, iwork, bwork, info)
        SGET24

so yeah: subroutine SGET24 with comp, jtype, thresh, iseed, nounit, n, a, lda, h, ht, wr, wi, wrt, wit, wrtmp, witmp, vs, ldvs, vs1, rcdein, rcdvin, nslct, islct, result, work, lwork, iwork, bwork, info β€” all of them, exactly like that. then it just says SGET24 again underneath, because main character energy. πŸ’–

✨ Function/Subroutine Documentation ✨

subroutine SGET24 🧚

subroutine SGET24 (logical comp, integer jtype, real thresh, integer,
       dimension( 4 ) iseed, integer nounit, integer n, real, dimension( lda, *
       ) a, integer lda, real, dimension( lda, * ) h, real, dimension( lda, *
       ) ht, real, dimension( * ) wr, real, dimension( * ) wi, real, dimension( *
       ) wrt, real, dimension( * ) wit, real, dimension( * ) wrtmp, real,
       dimension( * ) witmp, real, dimension( ldvs, * ) vs, integer ldvs, real,
       dimension( ldvs, * ) vs1, real rcdein, real rcdvin, integer nslct,
       integer, dimension( * ) islct, real, dimension( 17 ) result, real,
       dimension( * ) work, integer lwork, integer, dimension( * ) iwork,
       logical, dimension( * ) bwork, integer info)

Purpose 🎯

Okay so SGET24 is literally the vibe-check squad for the nonsymmetric eigenvalue (Schur form) problem expert driver SGEESX. It checks whether SGEESX ate and left no crumbs. ✨

  • If COMP = .FALSE., the first 13 of the following tests will be performed on the input matrix A, and also tests 14 and 15 if LWORK is sufficiently large.
  • If COMP = .TRUE., all 17 tests will be performed. Yes bestie, all seventeen. Main character energy only. πŸ‘‘

Here’s the whole test lineup, no skips:

  1. 0 if T is in Schur form, 1/ulp otherwise (no sorting of eigenvalues).
  2. | A - VS T VS' | / ( n |A| ulp ). Here VS is the matrix of Schur eigenvectors, and T is in Schur form (no sorting of eigenvalues).
  3. | I - VS VS' | / ( n ulp ) (no sorting of eigenvalues).
  4. 0 if WR+sqrt(-1)*WI are eigenvalues of T, 1/ulp otherwise (no sorting of eigenvalues).
  5. 0 if T(with VS) = T(without VS), 1/ulp otherwise (no sorting of eigenvalues).
  6. 0 if eigenvalues(with VS) = eigenvalues(without VS), 1/ulp otherwise (no sorting of eigenvalues).
  7. 0 if T is in Schur form, 1/ulp otherwise (with sorting of eigenvalues).
  8. | A - VS T VS' | / ( n |A| ulp ). Here VS is the matrix of Schur eigenvectors, and T is in Schur form (with sorting of eigenvalues).
  9. | I - VS VS' | / ( n ulp ) (with sorting of eigenvalues).
  10. 0 if WR+sqrt(-1)*WI are eigenvalues of T, 1/ulp otherwise. If workspace sufficient, also compare WR, WI with and without reciprocal condition numbers (with sorting of eigenvalues).
  11. 0 if T(with VS) = T(without VS), 1/ulp otherwise. If workspace sufficient, also compare T with and without reciprocal condition numbers (with sorting of eigenvalues).
  12. 0 if eigenvalues(with VS) = eigenvalues(without VS), 1/ulp otherwise. If workspace sufficient, also compare VS with and without reciprocal condition numbers (with sorting of eigenvalues).
  13. if sorting worked and SDIM is the number of eigenvalues which were SELECTed. If workspace sufficient, also compare SDIM with and without reciprocal condition numbers.
  14. if RCONDE the same no matter if VS and/or RCONDV computed.
  15. if RCONDV the same no matter if VS and/or RCONDE computed.
  16. |RCONDE - RCDEIN| / cond(RCONDE). RCONDE is the reciprocal average eigenvalue condition number computed by SGEESX and RCDEIN (the precomputed true value) is supplied as input. cond(RCONDE) is the condition number of RCONDE, and takes errors in computing RCONDE into account, so that the resulting quantity should be O(ULP). cond(RCONDE) is essentially given by norm(A)/RCONDV.
  17. |RCONDV - RCDVIN| / cond(RCONDV). RCONDV is the reciprocal right invariant subspace condition number computed by SGEESX and RCDVIN (the precomputed true value) is supplied as input. cond(RCONDV) is the condition number of RCONDV, and takes errors in computing RCONDV into account, so that the resulting quantity should be O(ULP). cond(RCONDV) is essentially given by norm(A)/RCONDE.

Parameters 🧸

  • COMP β€” COMP is LOGICAL. It describes which input tests to perform:
    • = .FALSE. if the computed condition numbers are not to be tested against RCDVIN and RCDEIN
    • = .TRUE. if they are to be compared
  • JTYPE β€” JTYPE is INTEGER. Type of input matrix. Used to label output if error occurs.
  • ISEED β€” ISEED is INTEGER array, dimension (4). If COMP = .FALSE., the random number generator seed used to produce matrix. If COMP = .TRUE., ISEED(1) = the number of the example. Used to label output if error occurs.
  • THRESH β€” THRESH is REAL. A test will count as a failure if the error, computed as described above, exceeds THRESH. Note that the error is scaled to be O(1), so THRESH should be a reasonably small multiple of 1, e.g., 10 or 100. In particular, it should not depend on the precision (single vs. double) or the size of the matrix. It must be at least zero.
  • NOUNIT β€” NOUNIT is INTEGER. The FORTRAN unit number for printing out error messages (e.g., if a routine returns INFO not equal to 0.)
  • N β€” N is INTEGER. The dimension of A. N must be at least 0.
  • A β€” A is REAL array, dimension (LDA, N). Used to hold the matrix whose eigenvalues are to be computed.
  • LDA β€” LDA is INTEGER. The leading dimension of A, and H. LDA must be at least 1 and at least N.
  • H β€” H is REAL array, dimension (LDA, N). Another copy of the test matrix A, modified by SGEESX.
  • HT β€” HT is REAL array, dimension (LDA, N). Yet another copy of the test matrix A, modified by SGEESX.
  • WR β€” WR is REAL array, dimension (N).
  • WI β€” WI is REAL array, dimension (N). The real and imaginary parts of the eigenvalues of A. On exit, WR + WI*i are the eigenvalues of the matrix in A.
  • WRT β€” WRT is REAL array, dimension (N).
  • WIT β€” WIT is REAL array, dimension (N). Like WR, WI, these arrays contain the eigenvalues of A, but those computed when SGEESX only computes a partial eigendecomposition, i.e. not Schur vectors.
  • WRTMP β€” WRTMP is REAL array, dimension (N).
  • WITMP β€” WITMP is REAL array, dimension (N). Like WR, WI, these arrays contain the eigenvalues of A, but sorted by increasing real part.
  • VS β€” VS is REAL array, dimension (LDVS, N). VS holds the computed Schur vectors.
  • LDVS β€” LDVS is INTEGER. Leading dimension of VS. Must be at least max(1, N).
  • VS1 β€” VS1 is REAL array, dimension (LDVS, N). VS1 holds another copy of the computed Schur vectors.
  • RCDEIN β€” RCDEIN is REAL. When COMP = .TRUE., RCDEIN holds the precomputed reciprocal condition number for the average of selected eigenvalues.
  • RCDVIN β€” RCDVIN is REAL. When COMP = .TRUE., RCDVIN holds the precomputed reciprocal condition number for the selected right invariant subspace.
  • NSLCT β€” NSLCT is INTEGER. When COMP = .TRUE., the number of selected eigenvalues corresponding to the precomputed values RCDEIN and RCDVIN.
  • ISLCT β€” ISLCT is INTEGER array, dimension (NSLCT). When COMP = .TRUE., ISLCT selects the eigenvalues of the input matrix corresponding to the precomputed values RCDEIN and RCDVIN. For I=1, ... ,NSLCT, if ISLCT(I) = J, then the eigenvalue with the J-th largest real part is selected. Not referenced if COMP = .FALSE..
  • RESULT β€” RESULT is REAL array, dimension (17). The values computed by the 17 tests described above. The values are currently limited to 1/ulp, to avoid overflow.
  • WORK β€” WORK is REAL array, dimension (LWORK).
  • LWORK β€” LWORK is INTEGER. The number of entries in WORK to be passed to SGEESX. This must be at least 3*N, and N+N**2 if tests 14--16 are to be performed.
  • IWORK β€” IWORK is INTEGER array, dimension (N*N).
  • BWORK β€” BWORK is LOGICAL array, dimension (N).
  • INFO β€” INFO is INTEGER. If 0, successful exit. If <0, input parameter -INFO had an incorrect value. If >0, SGEESX returned an error code, the absolute value of which is returned.

Author πŸ‘‘

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

Definition at line 339 of file sget24.f. πŸ“Œ

Definition at line 339 of file sget24.f.

Author 🧚

Generated automatically by Doxygen for LAPACK from the source code.


Okay bestie, that’s the whole page β€” source /home/abui...IG/sget24.f(3), LAPACK Version 3.12.0, and the footer’s date field is giving β€œsame source/version line” energy here, no extra date printed. Periodt. πŸ’…πŸ’–

πŸ“¦ where this page comes from