/home/abui...het01_aa.f(3)
π¦ NAME π¦
okay so bestie, this whole page is literally about one file:
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/TESTING/LIN/zhet01_aa.f
that's it, that's the name π it's a Fortran source file in the LAPACK testing lineup, and it's a Library Functions Manual page. slay.
β¨ SYNOPSIS β¨
Functions/Subroutines π
subroutine ZHET01_AA (uplo, n, a, lda, afac, ldafac, ipiv, c, ldc,
rwork, resid)
no cap, that's the whole thing. ZHET01_AA is the subroutine name β iconic, uppercase, all caps energy π
π Function/Subroutine Documentation π
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)
πΈ Purpose πΈ
okay so here's the vibe. ZHET01_AA 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 and EPS is the machine epsilon. that's it. that's the whole job. reconstructive queen behavior fr fr β¨
π«Ά Parameters π«Ά
UPLOβUPLOisCHARACTER*1. tells us whether the upper or lower triangular part of the hermitian matrixAis stored:= 'U': Upper triangular= 'L': Lower triangular
NβNisINTEGER. the number of rows and columns of the matrixA.N >= 0. (zero is allowed bestie, don't come for me π)AβAisCOMPLEX*16array, dimension(LDA,N). it's the original hermitian matrixA. the main character, honestly πLDAβLDAisINTEGER. the leading dimension of the arrayA.LDA >= max(1,N). respect the leading dimension or perish πAFACβAFACisCOMPLEX*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. like,AFACis the glow-up version ofA, ok? handled byZHETRF. iykyk πLDAFACβLDAFACisINTEGER. the leading dimension of the arrayAFAC.LDAFAC >= max(1,N). yes, a whole separate leading dimension. she has her own. πIPIVβIPIVisINTEGERarray, dimension(N). the pivot indices fromZHETRF. the receipts of which rows got swapped π₯CβCisCOMPLEX*16array, dimension(LDC,N). (that's genuinely all the original says about her β mysterious, lowkey main character energy π¦)LDCβLDCisINTEGER. the leading dimension of the arrayC.LDC >= max(1,N). third leading dimension of the page, we love consistency β¨RWORKβRWORKisCOMPLEX*16array, dimension(N). (yep β the original literally declares itCOMPLEX*16here, even though the signature up top has it asdouble precision. not me spotting the mismatch π just reading it to you exactly as written, bestie π«Ά)RESIDβRESIDisCOMPLEX*16(again β the signature line saysdouble precision; i'm not the one who wrote this, i'm just the one who noticed π). here's what it means:- 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 π
the legends behind this:
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
give them their flowers π
Definition at line 122 of file zhet01_aa.f. (yes we cite our sources, periodt π
)
π Author π
Generated automatically by Doxygen for LAPACK from the source code. so like, a robot wrote this page and i'm just re-decorating it π§
heads up bestie: this page is auto-generated docs for LAPACK test code β theCOMPLEX*16vsdouble precisionthing forRWORKandRESIDis straight out of the original text, so don't @ me π
LAPACK β Version 3.12.0, and that whole file-path header up top. mwah, take care of yourselves, run your tests, and stay slay πππ¦πΈ
π¦ where this page comes from
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms