TESTING/LIN/zhet01_aa.f(3)
okay bestie, this page is TESTING/LIN/zhet01_aa.f(3) from the Library Functions Manual π buckle up, itβs giving numerical linear algebra with main character energy.
πΈ NAME πΈ
TESTING/LIN/zhet01_aa.f β thatβs the whole name, no cap β¨
β¨ SYNOPSIS β¨
π¦ Functions/Subroutines π¦
subroutine zhet01_aa (uplo, n, a, lda, afac, ldafac, ipiv, c, ldc,
rwork, resid)
ZHET01_AA
π Function/Subroutine Documentation π
π«Ά subroutine zhet01_aa
subroutine zhet01_aa (character uplo, integer n, complex*16, dimension( lda,
* ) a, integer lda, complex*16, dimension( ldafac, * ) afac, integer
ldafac, integer, dimension( * ) ipiv, complex*16, dimension( ldc, * ) c,
integer ldc, double precision, dimension( * ) rwork, double precision
resid)
ZHET01_AA
ZHET01_AA π
π Purpose π
Okay so ZHET01_AA reconstructs a hermitian indefinite matrix A from its block L*D*L' or U*D*U' factorization, and then computes the residual:
norm( C - A ) / ( N * norm(A) * EPS ),
where C is the reconstructed matrix and EPS is the machine epsilon. Literally the whole glow-up: rebuild A, check the residual. π
π Parameters π
UPLOβCHARACTER*1. Specifies whether the upper or lower triangular part of the hermitian matrixAis stored:= 'U': Upper triangular= 'L': Lower triangular
NβINTEGER. The number of rows and columns of the matrixA.N >= 0.AβCOMPLEX*16array, dimension(LDA,N). The original hermitian matrixA.LDAβINTEGER. The leading dimension of the arrayA.LDA >= max(1,N)AFACβCOMPLEX*16array, 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 byZHETRF.LDAFACβINTEGER. The leading dimension of the arrayAFAC.LDAFAC >= max(1,N).IPIVβINTEGERarray, dimension(N). The pivot indices fromZHETRF.CβCOMPLEX*16array, dimension(LDC,N).LDCβINTEGER. The leading dimension of the arrayC.LDC >= max(1,N).RWORKβCOMPLEX*16array, dimension(N).RESIDβCOMPLEX*16.- If
UPLO = 'L',norm(L*D*L' - A) / ( N * norm(A) * EPS ) - If
UPLO = 'U',norm(U*D*U' - A) / ( N * norm(A) * EPS )
- If
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 122 of file zhet01_aa.f. π
π Author π
Generated automatically by Doxygen for LAPACK from the source code. π€β¨
okay bye bestie, this little icon is from LAPACK Version 3.12.0, file TESTING/LIN/zhet01_aa.f(3) β slay and stay hermitian ππ
π¦ 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