TESTING/LIN/chet01.f(3)

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

okay bestie, this is the Library Functions Manual page for TESTING/LIN/chet01.f πŸ’… and it’s literally giving β€œHermitian matrix reconstruction + residual check” energy. No cap.

✨ NAME ✨

  • TESTING/LIN/chet01.f β€” that’s the name, that’s the vibe, periodt. πŸ’–

πŸ¦‹ SYNOPSIS πŸ¦‹

🌈 Functions/Subroutines 🌈

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

CHET01

πŸŽ€ Function/Subroutine Documentation πŸŽ€

Here’s the full signature, bestie, copied exactly so nobody loses a single character:

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 🎯

okay so CHET01 reconstructs a Hermitian indefinite 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. That’s the whole assignment, and it ate. πŸ”₯

πŸ’… Parameters πŸ’…

Every single one, no skips:

  • UPLO β€” UPLO is CHARACTER*1. It 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.
  • A β€” A is COMPLEX array, dimension (LDA,N). The original Hermitian matrix A.
  • LDA β€” LDA is INTEGER. The leading dimension of the array A. LDA >= max(1,N)
  • AFAC β€” AFAC is COMPLEX array, dimension (LDAFAC,N). 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.
  • LDAFAC β€” LDAFAC is INTEGER. The leading dimension of the array AFAC. LDAFAC >= max(1,N).
  • IPIV β€” IPIV is INTEGER array, dimension (N). The pivot indices from CHETRF.
  • C β€” C is COMPLEX array, dimension (LDC,N).
  • LDC β€” LDC is INTEGER. The leading dimension of the array C. LDC >= max(1,N).
  • RWORK β€” RWORK is REAL array, dimension (N).
  • RESID β€” RESID is REAL. 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 🧭

Definition at line 124 of file chet01.f.

πŸ’Œ Author (the Doxygen one) πŸ’Œ

Generated automatically by Doxygen for LAPACK from the source code.


okay that’s the whole page, bestie 🫢 source/version check: this is LAPACK Version 3.12.0 for TESTING/LIN/chet01.f(3). The footer doesn’t give a separate date, so I’m not making one up πŸ˜ŒπŸ’…. Slay your Hermitian residuals and bye ✨

πŸ“¦ where this page comes from