TESTING/EIG/chst01.f(3)

πŸ“¦
version 3.12.1 Β· 3 versions
, in arch rolling

πŸ’– 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 matrix A. N >= 0. 🌸
  • ILO β€” ILO is INTEGER.
  • IHI β€” IHI is INTEGER. A is assumed to be upper triangular in rows and columns 1:ILO-1 and IHI+1:N, so Q differs from the identity only in rows and columns ILO+1:IHI.
  • A β€” A is COMPLEX array, dimension (LDA,N). The original n by n matrix A. πŸ¦‹
  • LDA β€” LDA is INTEGER. The leading dimension of the array A. LDA >= max(1,N).
  • H β€” H is COMPLEX array, dimension (LDH,N). The upper Hessenberg matrix H from the reduction A = Q*H*Q' as computed by CGEHRD. H is assumed to be zero below the first subdiagonal.
  • LDH β€” LDH is INTEGER. The leading dimension of the array H. LDH >= max(1,N).
  • Q β€” Q is COMPLEX array, dimension (LDQ,N). The orthogonal matrix Q from the reduction A = Q*H*Q' as computed by CGEHRD + CUNGHR. ✨
  • LDQ β€” LDQ is INTEGER. The leading dimension of the array Q. LDQ >= max(1,N).
  • WORK β€” WORK is COMPLEX array, dimension (LWORK).
  • LWORK β€” LWORK is INTEGER. The length of the array WORK. 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