TESTING/EIG/cget22.f(3)
π NAME π
The name on the tin is TESTING/EIG/cget22.f β and yes, the header title is TESTING/EIG/cget22.f(3). This page lives in the Library Functions Manual, which weβre folding in right here near the top instead of copying the header line, bestie. π
This is the page for CGET22, an eigenvector-checking subroutine. Itβs giving βtest the eigenvectors carefullyβ energy, no cap. β¨
β¨ SYNOPSIS β¨
π§ Functions/Subroutines π§
subroutine cget22 (character transa, character transe, character transw,
integer n, complex, dimension( lda, * ) a, integer lda, complex,
dimension( lde, * ) e, integer lde, complex, dimension( * ) w, complex,
dimension( * ) work, real, dimension( * ) rwork, real, dimension( 2 )
result)
And the subroutineβs name is CGET22 β main character energy, obviously. π
π Function/Subroutine Documentation π
πΈ subroutine cget22 πΈ
subroutine cget22 (character transa, character transe, character transw,
integer n, complex, dimension( lda, * ) a, integer lda, complex,
dimension( lde, * ) e, integer lde, complex, dimension( * ) w, complex,
dimension( * ) work, real, dimension( * ) rwork, real, dimension( 2 )
result)
CGET22
π¦ Purpose π¦
CGET22 does an eigenvector check, and it is lowkey thorough. The basic test is:
RESULT(1) = | A E - E W | / ( |A| |E| ulp )
using the 1-norm. It also tests the normalization of E:
RESULT(2) = max | m-norm(E(j)) - 1 | / ( n ulp )
j
where E(j) is the j-th eigenvector, and m-norm is the max-norm of a vector. The max-norm of a complex n-vector x in this case is the maximum of |re(x(i)| + |im(x(i)| over i = 1, ..., n.
π Parameters π
TRANSAβCHARACTER*1. Specifies whether or notAis transposed.'N': No transpose'T': Transpose'C': Conjugate transpose
TRANSEβCHARACTER*1. Specifies whether or notEis transposed.'N': No transpose, eigenvectors are in columns ofE'T': Transpose, eigenvectors are in rows ofE'C': Conjugate transpose, eigenvectors are in rows ofE
TRANSWβCHARACTER*1. Specifies whether or notWis transposed.'N': No transpose'T': Transpose, same asTRANSW = 'N''C': Conjugate transpose, use-WI(j)instead ofWI(j)
NβINTEGER. The order of the matrixA.N >= 0.AβCOMPLEX array, dimension (LDA,N). The matrix whose eigenvectors are inE.LDAβINTEGER. The leading dimension of the arrayA.LDA >= max(1,N).EβCOMPLEX array, dimension (LDE,N). The matrix of eigenvectors. IfTRANSE = 'N', the eigenvectors are stored in the columns ofE, ifTRANSE = 'T'or'C', the eigenvectors are stored in the rows ofE.LDEβINTEGER. The leading dimension of the arrayE.LDE >= max(1,N).WβCOMPLEX array, dimension (N). The eigenvalues ofA.WORKβCOMPLEX array, dimension (N*N).RWORKβREAL array, dimension (N).RESULTβREAL array, dimension (2). The two result slots are defined like this:
RESULT(1) = | A E - E W | / ( |A| |E| ulp )
RESULT(2) = max | m-norm(E(j)) - 1 | / ( n ulp )
j
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
π Definition at line 142 of file cget22.f. π
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
okay thatβs the whole page, bestie π«Ά β the footer notes are LAPACK Version 3.12.0 and the page is TESTING/EIG/cget22.f(3). No date is listed on that footer, so weβre not inventing one. periodt πβ¨
π¦ 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