TESTING/EIG/shst01.f(3)
π TESTING/EIG/shst01.f β Library Functions Manual π
πΈ NAME πΈ
TESTING/EIG/shst01.f
β¨ SYNOPSIS β¨
π§ Functions/Subroutines π§
subroutine shst01 (n, ilo, ihi, a, lda, h, ldh, q, ldq, work, lwork,
result)
SHST01
π Function/Subroutine Documentation π
π SHST01 π
subroutine shst01 (integer n, integer ilo, integer ihi, real, dimension(
lda, * ) a, integer lda, real, dimension( ldh, * ) h, integer ldh, real,
dimension( ldq, * ) q, integer ldq, real, dimension( lwork ) work,
integer lwork, real, dimension( 2 ) result)
SHST01
π― Purpose
Okay so SHST01 tests the reduction of a general matrix A to upper Hessenberg form: A = Q*H*Q'. Two test ratios are computed, and here they are exactly:
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 as it would be following SGEHRD + SORGHR.
In this version, ILO and IHI are not used and are assumed to be 1 and N, respectively. Lowkey iconic that they just say it like that.
π§Ύ Parameters
NβN is INTEGER; it's the order of the matrixA.N >= 0.ILOβILO is INTEGER. That's the whole note here, bestie.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 REAL array, dimension (LDA,N). It's the originalnbynmatrixA.LDAβLDA is INTEGER. The leading dimension of the arrayA.LDA >= max(1,N).HβH is REAL array, dimension (LDH,N). The upper Hessenberg matrixHfrom the reductionA = Q*H*Q'as computed bySGEHRD.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 REAL array, dimension (LDQ,N). The orthogonal matrixQfrom the reductionA = Q*H*Q'as computed bySGEHRD + SORGHR.LDQβLDQ is INTEGER. The leading dimension of the arrayQ.LDQ >= max(1,N).WORKβWORK is REAL array, dimension (LWORK).LWORKβLWORK is INTEGER. The length of the arrayWORK.LWORK >= 2*N*N.RESULTβRESULT is REAL 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 shst01.f.
π«Ά Author π«Ά
Generated automatically by Doxygen for LAPACK from the source code.
Sign-off: LAPACK Version 3.12.0 Β· TESTING/EIG/shst01.f(3) β love u, bye! π
π¦ 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