ZGET52(3)
π ZGET52(3) π
okay bestie, welcome to the zget52.f(3) page from the Library Functions Manual π the path /home/abui...IG/zget52.f(3) is doing its little header/footer cameo, but the main character here is ZGET52.
πΈ NAME πΈ
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/TESTING/EIG/zget52.f
β¨ SYNOPSIS β¨
π§ Functions/Subroutines π§
subroutine ZGET52 (left, n, a, lda, b, ldb, e, lde, alpha, beta, work,
rwork, result)
ZGET52
π Function/Subroutine Documentation π
subroutine ZGET52 (logical left, integer n, complex*16, dimension( lda, * )
a, integer lda, complex*16, dimension( ldb, * ) b, integer ldb,
complex*16, dimension( lde, * ) e, integer lde, complex*16, dimension( *
) alpha, complex*16, dimension( * ) beta, complex*16, dimension( * )
work, double precision, dimension( * ) rwork, double precision,
dimension( 2 ) result)
ZGET52
π― Purpose π―
ZGET52 does an eigenvector check for the generalized eigenvalue problem. Periodt.
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, the original notation is literally:
H H _ _
For left eigenvectors, A , B , a, and b are used.
ZGET52 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, that measure is |Re(x)| + |Im(x)|; let's 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.: The eigenvectors in the columns ofEare assumed to be left eigenvectors.=.FALSE.: The eigenvectors in the columns ofEare assumed to be right eigenvectors.
NβN is INTEGERThe size of the matrices. If it is zero,ZGET52does nothing. It must be at least zero.AβA is COMPLEX*16 array, dimension (LDA, N)The matrixA.LDAβLDA is INTEGERThe leading dimension ofA. It must be at least 1 and at leastN.BβB is COMPLEX*16 array, dimension (LDB, N)The matrixB.LDBβLDB is INTEGERThe leading dimension ofB. It must be at least 1 and at leastN.EβE is COMPLEX*16 array, dimension (LDE, N)The matrix of eigenvectors. It must beO( 1 ).LDEβLDE is INTEGERThe leading dimension ofE. It must be at least 1 and at leastN.ALPHAβALPHA is COMPLEX*16 array, dimension (N)The valuesa(i)as described above, which, along withb(i), define the generalized eigenvalues.BETAβBETA is COMPLEX*16 array, dimension (N)The valuesb(i)as described above, which, along witha(i), define the generalized eigenvalues.WORKβWORK is COMPLEX*16 array, dimension (N**2)RWORKβRWORK is DOUBLE PRECISION array, dimension (N)RESULTβRESULT is DOUBLE PRECISION 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 160 of file zget52.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
and that's the whole vibe check, bestie: LAPACK Version 3.12.0, page /home/abui...IG/zget52.f(3) β there's no date in this footer, so no invented date energy π«Άπ
π¦ 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