TESTING/EIG/dget51.f(3)
π TESTING/EIG/dget51.f π
Welcome to the Library Functions Manual, bestie β today's page is all about TESTING/EIG/dget51.f. It's giving βtest helper for eigendecomposition vibes,β and we're gonna read it together. π
β¨ NAME β¨
TESTING/EIG/dget51.f
π¦ SYNOPSIS π¦
π§ Functions/Subroutines π§
subroutine dget51 (itype, n, a, lda, b, ldb, u, ldu, v, ldv, work,
result)
DGET51 β yes, that's the subroutine's name. Iconic. π
π Function/Subroutine Documentation π
subroutine dget51 (integer itype, integer n, double precision, dimension(
lda, * ) a, integer lda, double precision, dimension( ldb, * ) b,
integer ldb, double precision, dimension( ldu, * ) u, integer ldu,
double precision, dimension( ldv, * ) v, integer ldv, double precision,
dimension( * ) work, double precision result)
DGET51
π Purpose π
DGET51 generally checks a decomposition of the form
A = U B V'
where ' means transpose and U and V are orthogonal.
Specifically, if ITYPE=1:
RESULT = | A - U B V' | / ( |A| n ulp )
If ITYPE=2, then:
RESULT = | A - B | / ( |A| n ulp )
If ITYPE=3, then:
RESULT = | I - UU' | / ( n ulp )
π Parameters π
ITYPEβITYPE is INTEGER. Specifies the type of tests to be performed.=1:RESULT = | A - U B V' | / ( |A| n ulp )=2:RESULT = | A - B | / ( |A| n ulp )=3:RESULT = | I - UU' | / ( n ulp )
NβN is INTEGER. The size of the matrix. If it is zero,DGET51does nothing. It must be at least zero.AβA is DOUBLE PRECISION array, dimension (LDA, N). The original (unfactored) matrix.LDAβLDA is INTEGER. The leading dimension ofA. It must be at least1and at leastN.BβB is DOUBLE PRECISION array, dimension (LDB, N). The factored matrix.LDBβLDB is INTEGER. The leading dimension ofB. It must be at least1and at leastN.UβU is DOUBLE PRECISION array, dimension (LDU, N). The orthogonal matrix on the left-hand side in the decomposition. Not referenced ifITYPE=2.LDUβLDU is INTEGER. The leading dimension ofU.LDUmust be at leastNand at least1.VβV is DOUBLE PRECISION array, dimension (LDV, N). The orthogonal matrix on the left-hand side in the decomposition. Not referenced ifITYPE=2.LDVβLDV is INTEGER. The leading dimension ofV.LDVmust be at leastNand at least1.WORKβWORK is DOUBLE PRECISION array, dimension (2*N**2).RESULTβRESULT is DOUBLE PRECISION. 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 147 of file dget51.f.
π§ Author π§
Generated automatically by Doxygen for LAPACK from the source code.
That's the tea, bestie: LAPACK Version 3.12.0, source TESTING/EIG/dget51.f(3). Byeee πβ¨
π¦ 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