TESTING/LIN/zhpt01.f(3)

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

πŸŽ€ TESTING/LIN/zhpt01.f(3) πŸŽ€

okay bestie, this page is from the Library Functions Manual, and it's giving β€œLAPACK testing internals but make it cute” πŸ’…βœ¨


✨ NAME ✨

TESTING/LIN/zhpt01.f


πŸ¦‹ SYNOPSIS πŸ¦‹

πŸ’– Functions/Subroutines πŸ’–

  • subroutine zhpt01 (uplo, n, a, afac, ipiv, c, ldc, rwork, resid) β€” the ZHPT01 girl herself 🫢

πŸ’– Function/Subroutine Documentation πŸ’–

subroutine zhpt01 (character uplo, integer n, complex*16, dimension( * ) a,
    complex*16, dimension( * ) afac, integer, dimension( * ) ipiv,
    complex*16, dimension( ldc, * ) c, integer ldc, double precision,
    dimension( * ) rwork, double precision resid)

ZHPT01 β€” iconic, honestly πŸ‘‘

🧚 Purpose 🧚

okay so ZHPT01 reconstructs a Hermitian indefinite packed matrix A from its block L*D*L' or U*D*U' factorization and computes the residual

norm( C - A ) / ( N * norm(A) * EPS ),

where C is the reconstructed matrix, EPS is the machine epsilon, L' is the conjugate transpose of L, and U' is the conjugate transpose of U. no cap, that's the whole vibe πŸ’«

πŸŽ€ Parameters πŸŽ€

🌸 UPLO 🌸

  • UPLO is CHARACTER*1 β€” specifies whether the upper or lower triangular part of the Hermitian matrix A is stored:
    • = 'U': Upper triangular
    • = 'L': Lower triangular

πŸ“ N πŸ“

  • N is INTEGER β€” the number of rows and columns of the matrix A. N >= 0. periodt πŸ’…

πŸ¦‹ A πŸ¦‹

  • A is COMPLEX*16 array, dimension (N*(N+1)/2) β€” the original Hermitian matrix A, stored as a packed triangular matrix. literally packed with drama and data ✨

πŸ’œ AFAC πŸ’œ

  • AFAC is COMPLEX*16 array, dimension (N*(N+1)/2) β€” the factored form of the matrix A, stored as a packed triangular matrix. AFAC contains the block diagonal matrix D and the multipliers used to obtain the factor L or U from the block L*D*L' or U*D*U' factorization as computed by ZHPTRF. she's got layers 🫢

🌈 IPIV 🌈

  • IPIV is INTEGER array, dimension (N) β€” the pivot indices from ZHPTRF. pivot pivot slay πŸ’…

⭐ C ⭐

  • C is COMPLEX*16 array, dimension (LDC,N) β€” that's the reconstructed-matrix storage, bestie πŸ’–

πŸŽ€ LDC πŸŽ€

  • LDC is INTEGER β€” the leading dimension of the array C. LDC >= max(1,N). don't skimp on the leading dimension, fr fr πŸ™ˆ

🧚 RWORK 🧚

  • RWORK is DOUBLE PRECISION array, dimension (N) β€” workspace for the real-number side of the operation ✨

πŸ”₯ RESID πŸ”₯

  • RESID is DOUBLE PRECISION β€” the residual, computed like this:
    • If UPLO = 'L', norm(L*D*L' - A) / ( N * norm(A) * EPS )
    • If UPLO = 'U', norm(U*D*U' - A) / ( N * norm(A) * EPS )

πŸ‘‘ Author πŸ‘‘

  • Univ. of Tennessee
  • Univ. of California Berkeley
  • Univ. of Colorado Denver
  • NAG Ltd.

πŸ“Œ Definition at line 112 of file zhpt01.f. πŸ“Œ

that's the exact line, bestie β€” 112 of zhpt01.f 🫢

πŸͺ„ Author πŸͺ„

Generated automatically by Doxygen for LAPACK from the source code. yes, the docs wrote themselves, main character energy πŸ˜­πŸ’…


signed off with love from LAPACK Version 3.12.0 and the source file TESTING/LIN/zhpt01.f β€” this cutie was generated automatically by Doxygen for LAPACK from the source code, and that's the tea πŸŽ€πŸ¦‹βœ¨

πŸ“¦ where this page comes from