TESTING/EIG/dhst01.f(3)
β¨ NAME β¨
okay so bestie, welcome to TESTING/EIG/dhst01.f(3) from the Library Functions Manual. This page is all about DHST01, a subroutine that runs the vibe check on a Hessenberg reduction. π
πΈ SYNOPSIS πΈ
π«Ά Functions/Subroutines π«Ά
subroutine dhst01 (n, ilo, ihi, a, lda, h, ldh, q, ldq, work, lwork, result)β DHST01
subroutine dhst01 (n, ilo, ihi, a, lda, h, ldh, q, ldq, work, lwork, result)
DHST01
π«Ά Function/Subroutine Documentation π«Ά
π subroutine dhst01 π
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 tests the reduction of a general matrix A to upper Hessenberg form, and the whole energy is:
A = Q*H*Q'.
Two test ratios get computed, and they are literally:
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 like it would be following DGEHRD + DORGHR. π«Ά
In this version, ILO and IHI are not used and are assumed to be 1 and N, respectively. no cap.
π Parameters π
NβN is INTEGER. The order of the matrixA.N >= 0.ILOβILO is INTEGER.IHIβIHI is INTEGER.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βA is DOUBLE PRECISION array, dimension (LDA,N). The originalnbynmatrixA.LDAβLDA is INTEGER. The leading dimension of the arrayA.LDA >= max(1,N).HβH is DOUBLE PRECISION array, 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βLDH is INTEGER. The leading dimension of the arrayH.LDH >= max(1,N).QβQ is DOUBLE PRECISION array, dimension (LDQ,N). The orthogonal matrixQfrom the reductionA = Q*H*Q'as computed byDGEHRD + DORGHR.LDQβLDQ is INTEGER. The leading dimension of the arrayQ.LDQ >= max(1,N).WORKβWORK is DOUBLE PRECISION array, dimension (LWORK).LWORKβLWORK is INTEGER. The length of the arrayWORK.LWORK >= 2*N*N.RESULTβRESULT is DOUBLE PRECISION array, dimension (2).RESULT(1) = norm( A - Q*H*Q' ) / ( norm(A) * N * EPS ).RESULT(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. π
Generated automatically by Doxygen for LAPACK from the source code β LAPACK Version 3.12.0, bestie. slay. π β¨
π¦ 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