DHST01(3)
π NAME π
okay bestie, you're on DHST01(3) from the Library Functions Manual, and the NAME line is literally this whole path: /home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/TESTING/EIG/dhst01.f.
β¨ SYNOPSIS β¨
π§ Functions/Subroutines π§
Here's the subroutine tea:
subroutine DHST01 (n, ilo, ihi, a, lda, h, ldh, q, ldq, work, lwork,
result)
DHST01
π¦ Function/Subroutine Documentation π¦
Exact signature, bestie β no cap:
subroutine DHST01 (integer n, integer ilo, integer ihi, double precision,
dimension( lda, * ) a, integer lda, double precision, dimension( ldh, *
) h, integer ldh, double precision, dimension( ldq, * ) q, integer ldq,
double precision, dimension( lwork ) work, integer lwork, double
precision, dimension( 2 ) result)
DHST01
π Purpose π
okay so DHST01 is lowkey the vibe-check for reducing a general matrix A to upper Hessenberg form: A = Q*H*Q'. It computes two test ratios, and yes they're iconic:
RESULT(1) = norm( A - Q*H*Q' ) / ( norm(A) * N * EPS )RESULT(2) = norm( I - Q'*Q ) / ( N * EPS )
The matrix Q is assumed to be given explicitly, exactly as it would be following DGEHRD + DORGHR.
In this version, ILO and IHI are not used and are assumed to be 1 and N, respectively. periodt. π
πΈ Parameters πΈ
NβNisINTEGER. The order of the matrixA.N >= 0.ILOβILOisINTEGER. That's literally all the original says, bestie.IHIβIHIisINTEGER.Ais assumed to be upper triangular in rows and columns1:ILO-1andIHI+1:N, soQdiffers from the identity only in rows and columnsILO+1:IHI.AβAisDOUBLE PRECISIONarray, dimension(LDA,N). The original n by n matrixA.LDAβLDAisINTEGER. The leading dimension of the arrayA.LDA >= max(1,N).HβHisDOUBLE PRECISIONarray, dimension(LDH,N). The upper Hessenberg matrixHfrom the reductionA = Q*H*Q'as computed byDGEHRD.His assumed to be zero below the first subdiagonal.LDHβLDHisINTEGER. The leading dimension of the arrayH.LDH >= max(1,N).QβQisDOUBLE PRECISIONarray, dimension(LDQ,N). The orthogonal matrixQfrom the reductionA = Q*H*Q'as computed byDGEHRD + DORGHR.LDQβLDQisINTEGER. The leading dimension of the arrayQ.LDQ >= max(1,N).WORKβWORKisDOUBLE PRECISIONarray, dimension(LWORK).LWORKβLWORKisINTEGER. The length of the arrayWORK.LWORK >= 2*N*N.RESULTβRESULTisDOUBLE PRECISIONarray, dimension(2).RESULT(1) = norm( A - Q*H*Q' ) / ( norm(A) * N * EPS )andRESULT(2) = norm( I - Q'*Q ) / ( N * EPS ).
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 132 of file dhst01.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
okay that's the whole page, bestie π
β¨ β cute sign-off from the footer: LAPACK Version 3.12.0, source/path /home/abui...IG/dhst01.f(3). That's the footer tea, periodt. π«Ά
π¦ 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