CGET52(3)
πΈ NAME πΈ
This is the manual page for /home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/TESTING/EIG/cget52.f β yes bestie, that exact path, no cap. The title vibe is cget52.f(3), and it lives in the Library Functions Manual π«Ά.
β¨ SYNOPSIS β¨
π Functions/Subroutines π
subroutine CGET52 (left, n, a, lda, b, ldb, e, lde, alpha, beta, work,
rwork, result)
CGET52
π¦ Function/Subroutine Documentation π¦
subroutine CGET52 (logical left, integer n, complex, dimension( lda, * ) a,
integer lda, complex, dimension( ldb, * ) b, integer ldb, complex,
dimension( lde, * ) e, integer lde, complex, dimension( * ) alpha,
complex, dimension( * ) beta, complex, dimension( * ) work, real,
dimension( * ) rwork, real, dimension( 2 ) result)
CGET52
β¨ Purpose β¨
okay so CGET52 does an eigenvector check for the generalized eigenvalue problem. It's giving "trust but verify" energy, fr fr.
The basic test for right eigenvectors is:
| b(i) A E(i) - a(i) B E(i) |
RESULT(1) = max -------------------------------
i n ulp max( |b(i) A|, |a(i) B| )
using the 1-norm. Here, a(i)/b(i) = w is the i-th generalized eigenvalue of A - w B, or, equivalently, b(i)/a(i) = m is the i-th generalized eigenvalue of m A - B.
For left eigenvectors, A^H, B^H, a, and b are used. bestie, it's giving transpose-conjugate realness π
.
CGET52 also tests the normalization of E. Each eigenvector is supposed to be normalized so that the maximum of its elements is 1, where in this case, for a complex value x, the measure is |Re(x)| + |Im(x)| ; let us call this maximum norm of a vector v M(v). If a(i)=b(i)=0, then the eigenvector is set to be the jth coordinate vector. The normalization test is:
RESULT(2) = max | M(v(i)) - 1 | / ( n ulp )
eigenvectors v(i)
π Parameters π
LEFTβLEFT is LOGICAL;=.TRUE.means the eigenvectors in the columns ofEare assumed to be left eigenvectors;=.FALSE.means the eigenvectors in the columns ofEare assumed to be right eigenvectors.NβN is INTEGER; the size of the matrices. If it is zero,CGET52does nothing. It must be at least zero.AβA is COMPLEX array, dimension (LDA, N); the matrixA.LDAβLDA is INTEGER; the leading dimension ofA. It must be at least1and at leastN.BβB is COMPLEX array, dimension (LDB, N); the matrixB.LDBβLDB is INTEGER; the leading dimension ofB. It must be at least1and at leastN.EβE is COMPLEX array, dimension (LDE, N); the matrix of eigenvectors. It must beO( 1 ).LDEβLDE is INTEGER; the leading dimension ofE. It must be at least1and at leastN.ALPHAβALPHA is COMPLEX array, dimension (N); the valuesa(i)as described above, which, along withb(i), define the generalized eigenvalues.BETAβBETA is COMPLEX array, dimension (N); the valuesb(i)as described above, which, along witha(i), define the generalized eigenvalues.WORKβWORK is COMPLEX array, dimension (N**2).RWORKβRWORK is REAL array, dimension (N).RESULTβRESULT is REAL array, dimension (2); the values computed by the test described above. IfA EorB Eis likely to overflow, thenRESULT(1:2)is set to10 / ulp.
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 159 of file cget52.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
byeee bestie, this was LAPACK Version 3.12.0, and the footer path is /home/abui...IG/cget52.f(3) πβ¨
π¦ where this page comes from
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms