/home/abui...syt01_aa.f(3)
π NAME π
ok so bestie, this page is literally about a file called /home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/TESTING/LIN/zsyt01_aa.f β yes that's the whole entire name, she's got a long government name and she's rocking it. It's from the LAPACK library functions manual, section 3. Slay.
β¨ SYNOPSIS β¨
Functions/Subroutines π
subroutine ZSYT01_AA (uplo, n, a, lda, afac, ldafac, ipiv, c, ldc,
rwork, resid)
ZSYT01
π¦ Function/Subroutine Documentation π¦
the whole signature, no cap β
subroutine ZSYT01_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)
ZSYT01
π Purpose π
so here's the vibe, quoted from the source !> block:
!>
!> ZSYT01 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.
!>
like, she takes A apart, rebuilds it from the blocks, and then checks how close she got. iconic behavior ngl π
πΈ Parameters πΈ
UPLOβUPLO is CHARACTER*1β tells you which triangle of the hermitian matrixAis actually stored:= 'U': Upper triangularor= 'L': Lower triangular. pick a side bestie, you can't have both πNβN is INTEGERβ the number of rows and columns of the matrixA, andN >= 0. square queen energy βAβA is COMPLEX*16 array, dimension (LDA,N)β the original hermitian matrixA. the real one, before all the factoring drama.LDAβLDA is INTEGERβ the leading dimension of the arrayA, andLDA >= max(1,N). respect the leading dimension or she will not run πAFACβAFAC is COMPLEX*16 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 byZSYTRF. so like,ZSYTRFdid the work andAFACis holding the receipts π§ΎLDAFACβLDAFAC is INTEGERβ the leading dimension of the arrayAFAC, andLDAFAC >= max(1,N). yes she has her own leading dimension, don't ask questions π«ΆIPIVβIPIV is INTEGER array, dimension (N)β the pivot indices fromZSYTRF. the pivot girlies πCβC is COMPLEX*16 array, dimension (LDC,N)β ok that's literally it, that's the whole description, no further notes, we love a low-maintenance array β¨LDCβLDC is INTEGERβ the leading dimension of the arrayC, andLDC >= max(1,N). third leading dimension, third time's the charm πRWORKβRWORK is COMPLEX*16 array, dimension (N)β again, that's the whole note, she said what she said πRESIDβRESID is COMPLEX*16β the actual residual number, and:- if
UPLO = 'L', thennorm(L*D*L' - A) / ( N * norm(A) * EPS ) - if
UPLO = 'U', thennorm(U*D*U' - A) / ( N * norm(A) * EPS )
- if
she's the final boss score at the end of the whole test π₯
π§ Author π§
the brains behind this, respectfully:
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
π Where she lives π
Definition at line 122 of file zsyt01_aa.f.
π Author (the meta one) π
Generated automatically by Doxygen for LAPACK from the source code. β so nobody hand-wrote this page, a robot did, and honestly the robot ate π€β¨
ok that's the whole page bestie, you're welcome, go reconstruct a hermitian indefinite matrix responsibly π
sign-off: this was LAPACK,Version 3.12.0, and the footer path was/home/abui...syt01_aa.f(3)β mwah, periodt π«Άπ
π¦ 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