TESTING/LIN/zspt01.f(3)
π NAME π
TESTING/LIN/zspt01.f β that's the page, bestie, coming at you from the Library Functions Manual, and it's fully dedicated to the zspt01 subroutine. iconic behavior π
β¨ SYNOPSIS β¨
π§ Functions/Subroutines π§
subroutine zspt01 (uplo, n, a, afac, ipiv, c, ldc, rwork, resid)βZSPT01
π¦ Function/Subroutine Documentation π¦
subroutine zspt01 (character uplo, integer n, complex*16, dimension( * ) a,
complex*16, dimension( * ) afac, integer, dimension( * ) ipiv,
complex*16, dimension( ldc, * ) c, integer ldc, double precision,
dimension( * ) rwork, double precision resid)
And the name on the tin is literally ZSPT01. slay β¨
πΈ Purpose πΈ
Okay so real talk: ZSPT01 reconstructs a symmetric indefinite packed matrix A from its diagonal pivoting factorization A = U*D*U' or A = L*D*L', and then it computes the residual:
norm( C - A ) / ( N * norm(A) * EPS )
where C is the reconstructed matrix and EPS is the machine epsilon. math girlie moment π
π Parameters π
UPLOβUPLO is CHARACTER*1. Specifies whether the upper or lower triangular part of the Hermitian matrixAis stored:= 'U': Upper triangularor= 'L': Lower triangular. pick your side π¦NβN is INTEGER. The order of the matrixA.N >= 0.AβA is COMPLEX*16 array, dimension (N*(N+1)/2). The original symmetric matrixA, stored as a packed triangular matrix. packed and thriving πAFACβAFAC is COMPLEX*16 array, dimension (N*(N+1)/2). The factored form of the matrixA, stored as a packed triangular matrix.AFACcontains the block diagonal matrixDand the multipliers used to obtain the factorLorUfrom theL*D*L'orU*D*U'factorization as computed byZSPTRF.IPIVβIPIV is INTEGER array, dimension (N). The pivot indices fromZSPTRF. pivot queen πCβC is COMPLEX*16 array, dimension (LDC,N).LDCβLDC is INTEGER. The leading dimension of the arrayC.LDC >= max(1,N).RWORKβRWORK is DOUBLE PRECISION array, dimension (N).RESIDβRESID is DOUBLE PRECISION. IfUPLO = 'L',norm(L*D*L' - A) / ( N * norm(A) * EPS ). IfUPLO = 'U',norm(U*D*U' - A) / ( N * norm(A) * EPS ). residual realness π
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 111 of file zspt01.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
And that's the whole page, bestie β footer says LAPACK Version 3.12.0 and TESTING/LIN/zspt01.f(3). periodt, we ate πβ¨π
π¦ 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