CHET01(3)

πŸ“¦ version 3.12.0, in opensuse-leap 16.0

πŸ’– NAME πŸ’–

okay bestie, you're reading CHET01(3) from the Library Functions Manual, and she is here to reconstruct a Hermitian indefinite matrix and check the residual πŸ’…. The actual source file path is:

/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/TESTING/LIN/chet01.f


✨ SYNOPSIS ✨

🧚 Functions/Subroutines 🧚

       subroutine CHET01 (uplo, n, a, lda, afac, ldafac, ipiv, c, ldc, rwork,
           resid)
           CHET01

πŸ¦‹ Function/Subroutine Documentation πŸ¦‹

   subroutine CHET01 (character uplo, integer n, complex, dimension( lda, * )
       a, integer lda, complex, dimension( ldafac, * ) afac, integer ldafac,
       integer, dimension( * ) ipiv, complex, dimension( ldc, * ) c, integer
       ldc, real, dimension( * ) rwork, real resid)
       CHET01

πŸŽ€ Purpose πŸŽ€

CHET01 reconstructs a Hermitian indefinite matrix A from its block L*D*L' or U*D*U' factorization, then 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. literally iconic math behaviour πŸ’…βœ¨

🌸 Parameters 🌸

  • UPLO β€” UPLO is CHARACTER*1. It says which triangle of the Hermitian matrix A is stored: 'U' means upper triangular, and 'L' means lower triangular. Pick your lane, bestie πŸ’–
  • N β€” N is INTEGER. It's the number of rows and columns of the matrix A, and N >= 0. no negative-size nonsense, periodt 🫢
  • A β€” A is COMPLEX array, dimension (LDA,N). This is the original Hermitian matrix A. main character matrix energy πŸ‘‘
  • LDA β€” LDA is INTEGER. It's the leading dimension of the array A, and LDA >= max(1,N). respect the leading dimension or perish 😭
  • AFAC β€” AFAC is COMPLEX array, dimension (LDAFAC,N). This is the factored form of the matrix A. 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 CHETRF. yes, she contains lore πŸŽ€
  • LDAFAC β€” LDAFAC is INTEGER. It's the leading dimension of the array AFAC, and LDAFAC >= max(1,N). get that leading dimension in check bestie πŸ’…
  • IPIV β€” IPIV is INTEGER array, dimension (N). These are the pivot indices from CHETRF. pivot era πŸ”₯
  • C β€” C is COMPLEX array, dimension (LDC,N). that's the reconstructed-matrix slot, no extra commentary needed πŸ¦‹
  • LDC β€” LDC is INTEGER. It's the leading dimension of the array C, and LDC >= max(1,N). another leading dimension, another slay 🌈
  • RWORK β€” RWORK is REAL array, dimension (N). real workspace, real vibes ✨
  • RESID β€” RESID is REAL. If UPLO = 'L', it's norm(L*D*L' - A) / ( N * norm(A) * EPS ). If UPLO = 'U', it's norm(U*D*U' - A) / ( N * norm(A) * EPS ). this is the final boss residual check 😀

πŸ‘‘ Author πŸ‘‘

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

Definition at line 124 of file chet01.f.


🌈 Author 🌈

Generated automatically by Doxygen for LAPACK from the source code.


bye bestie πŸ’– β€” this page is from LAPACK Version 3.12.0, and the footer path is /home/abui...IN/chet01.f(3). No date is listed in the footer, so consider this your timestamp-free sign-off πŸŽ€πŸ’‹

πŸ“¦ where this page comes from