ZHST01(3)
ZHST01(3) β Library Functions Manual, but make it group chat π
okay so bestie, this is the zhst01 page from the Library Functions Manual, and itβs giving βLAPACK test subroutine with main character energy.β The file is literally:
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/TESTING/EIG/zhst01.f
πΈ NAME πΈ
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/TESTING/EIG/zhst01.f
β¨ SYNOPSIS β¨
Functions/Subroutines π
subroutine ZHST01 (n, ilo, ihi, a, lda, h, ldh, q, ldq, work, lwork,
rwork, result)
ZHST01
π¦ Function/Subroutine Documentation π¦
subroutine ZHST01 (integer n, integer ilo, integer ihi, complex*16,
dimension( lda, * ) a, integer lda, complex*16, dimension( ldh, * ) h,
integer ldh, complex*16, dimension( ldq, * ) q, integer ldq, complex*16,
dimension( lwork ) work, integer lwork, double precision, dimension( * )
rwork, double precision, dimension( 2 ) result)
ZHST01 β yes, the name appears again, because Doxygen loves an encore ππ
π Purpose π
ZHST01 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 ZGEHRD + ZUNGHR.
In this version, ILO and IHI are not used, but they could be used to save some work if this is desired. lowkey noted π«Ά
π 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*16 array, dimension (LDA,N). The originalnbynmatrixA.LDAβLDA is INTEGER. The leading dimension of the arrayA.LDA >= max(1,N).HβH is COMPLEX*16 array, dimension (LDH,N). The upper Hessenberg matrixHfrom the reductionA = Q*H*Q'as computed byZGEHRD.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*16 array, dimension (LDQ,N). The orthogonal matrixQfrom the reductionA = Q*H*Q'as computed byZGEHRD + ZUNGHR.LDQβLDQ is INTEGER. The leading dimension of the arrayQ.LDQ >= max(1,N).WORKβWORK is COMPLEX*16 array, dimension (LWORK).LWORKβLWORK is INTEGER. The length of the arrayWORK.LWORK >= 2*N*N.RWORKβRWORK is DOUBLE PRECISION array, dimension (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 138 of file zhst01.f. π
Definition at line 138 of file zhst01.f.
π«Ά Author (Doxygenβs auto-generated note) π«Ά
Generated automatically by Doxygen for LAPACK from the source code.
π Thatβs the page, bestie β LAPACK Version 3.12.0, source: /home/abui...IG/zhst01.f(3), date: not listed on this copy. π«Ά
π¦ 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