TESTING/LIN/chet01.f(3)
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 matrixAis stored:= 'U': Upper triangular= 'L': Lower triangular
NβN is INTEGER. The number of rows and columns of the matrixA.N >= 0.AβA is COMPLEX array, dimension (LDA,N). The original Hermitian matrixA.LDAβLDA is INTEGER. The leading dimension of the arrayA.LDA >= max(1,N)AFACβAFAC is COMPLEX array, dimension (LDAFAC,N). The factored form of the matrixA.AFACcontains the block diagonal matrixDand the multipliers used to obtain the factorLorUfrom the blockL*D*L'orU*D*U'factorization as computed byCHETRF.LDAFACβLDAFAC is INTEGER. The leading dimension of the arrayAFAC.LDAFAC >= max(1,N).IPIVβIPIV is INTEGER array, dimension (N). The pivot indices fromCHETRF.CβC is COMPLEX array, dimension (LDC,N).LDCβLDC is INTEGER. The leading dimension of the arrayC.LDC >= max(1,N).RWORKβRWORK is REAL array, dimension (N).RESIDβRESID is REAL. IfUPLO = 'L',norm(L*D*L' - A) / ( N * norm(A) * EPS ). IfUPLO = '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
- arch rolling: lapack-doc 3.12.1-2 Β· custom
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms