TESTING/EIG/chst01.f(3)
π TESTING/EIG/chst01.f(3) π
okay so bestie, welcome to the Library Functions Manual glow-up for TESTING/EIG/chst01.f β yes, the page title is TESTING/EIG/chst01.f(3), and itβs giving βCHST01 testing subroutineβ main character energy. πβ¨
πΈ NAME πΈ
TESTING/EIG/chst01.f β thatβs the file, and the subroutine inside is chst01. no cap. π
π¦ SYNOPSIS π¦
π§ Functions/Subroutines π§
subroutine chst01β the icon itself, with the full arg list below:
subroutine chst01 (n, ilo, ihi, a, lda, h, ldh, q, ldq, work, lwork,
rwork, result)
CHST01 β periodt. π
π Function/Subroutine Documentation π
π subroutine chst01 π
subroutine chst01 (integer n, integer ilo, integer ihi, complex, dimension(
lda, * ) a, integer lda, complex, dimension( ldh, * ) h, integer ldh,
complex, dimension( ldq, * ) q, integer ldq, complex, dimension( lwork )
work, integer lwork, real, dimension( * ) rwork, real, dimension( 2 )
result)
CHST01 β yes, thatβs the name again, and itβs iconic. π«Ά
π Purpose π
okay so CHST01 tests the reduction of a general matrix A to upper Hessenberg form: A = Q*H*Q'. Two test ratios are computed:
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 CGEHRD + CUNGHR.
In this version, ILO and IHI are not used, but they could be used to save some work if this is desired. π
π 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 COMPLEX array, dimension (LDA,N). The original n by n matrixA. π¦LDAβLDA is INTEGER. The leading dimension of the arrayA.LDA >= max(1,N).HβH is COMPLEX array, dimension (LDH,N). The upper Hessenberg matrixHfrom the reductionA = Q*H*Q'as computed byCGEHRD.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 COMPLEX array, dimension (LDQ,N). The orthogonal matrixQfrom the reductionA = Q*H*Q'as computed byCGEHRD + CUNGHR. β¨LDQβLDQ is INTEGER. The leading dimension of the arrayQ.LDQ >= max(1,N).WORKβWORK is COMPLEX array, dimension (LWORK).LWORKβLWORK is INTEGER. The length of the arrayWORK.LWORK >= 2*N*N. π₯RWORKβRWORK is REAL array, dimension (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 138 of file chst01.f.
π« Author π«
Generated automatically by Doxygen for LAPACK from the source code.
thatβs the whole page, bestie: source/version/page check is LAPACK, Version 3.12.0, and TESTING/EIG/chst01.f(3) β no separate date is printed in this footer. Go off and test that reduction. periodt. π
β¨
π¦ 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