TESTING/EIG/cget51.f(3)
π NAME π
okay bestie, welcome to the TESTING/EIG/cget51.f(3) page from the Library Functions Manual β this is the CGET51 subroutine and she is here to vibe-check a matrix decomposition. π
TESTING/EIG/cget51.f
β¨ SYNOPSIS β¨
Functions/Subroutines
subroutine cget51 (itype, n, a, lda, b, ldb, u, ldu, v, ldv, work, rwork, result)
CGET51
π«Ά Function/Subroutine Documentation π«Ά
here's the full signature, copied exactly because we do not play with types around here:
subroutine cget51 (integer itype, integer n, complex, dimension( lda, * ) a,
integer lda, complex, dimension( ldb, * ) b, integer ldb, complex,
dimension( ldu, * ) u, integer ldu, complex, dimension( ldv, * ) v,
integer ldv, complex, dimension( * ) work, real, dimension( * ) rwork,
real result)
CGET51
π― Purpose π―
CGET51 generally checks a decomposition of the form
A = U B V**H
where **H means conjugate transpose and U and V are unitary.
Specifically, if ITYPE=1
RESULT = | A - U B V**H | / ( |A| n ulp )
If ITYPE=2, then:
RESULT = | A - B | / ( |A| n ulp )
If ITYPE=3, then:
RESULT = | I - U U**H | / ( n ulp )
πΈ Parameters πΈ
ITYPEβINTEGER. Specifies the type of tests to be performed.=1:RESULT = | A - U B V**H | / ( |A| n ulp )=2:RESULT = | A - B | / ( |A| n ulp )=3:RESULT = | I - U U**H | / ( n ulp )
NβINTEGER. The size of the matrix. If it is zero,CGET51does nothing. It must be at least zero.AβCOMPLEX array, dimension (LDA, N). The original (unfactored) matrix.LDAβINTEGER. The leading dimension ofA. It must be at least1and at leastN.BβCOMPLEX array, dimension (LDB, N). The factored matrix.LDBβINTEGER. The leading dimension ofB. It must be at least1and at leastN.UβCOMPLEX array, dimension (LDU, N). The unitary matrix on the left-hand side in the decomposition. Not referenced ifITYPE=2.LDUβINTEGER. The leading dimension ofU.LDUmust be at leastNand at least1.VβCOMPLEX array, dimension (LDV, N). The unitary matrix on the left-hand side in the decomposition. Not referenced ifITYPE=2.LDVβINTEGER. The leading dimension ofV.LDVmust be at leastNand at least1.WORKβCOMPLEX array, dimension (2*N**2).RWORKβREAL array, dimension (N).RESULTβREAL. The values computed by the test specified byITYPE. The value is currently limited to1/ulp, to avoid overflow. Errors are flagged byRESULT=10/ulp.
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
π§ Definition π§
Definition at line 153 of file cget51.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
alright bestie, that's the whole page. footer vibes: LAPACK Version 3.12.0, page TESTING/EIG/cget51.f(3). mwah πβ¨
π¦ 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