TESTING/LIN/zsyt01_3.f(3)
πΈ NAME πΈ
Okay so bestie, welcome to the TESTING/LIN/zsyt01_3.f page from the Library Functions Manual β itβs a LAPACK thing, and itβs all about the zsyt01_3 subroutine. π
β¨ SYNOPSIS β¨
π Functions/Subroutines π
subroutine zsyt01_3 (uplo, n, a, lda, afac, ldafac, e, ipiv, c, ldc,
rwork, resid)
ZSYT01_3
π§ Function/Subroutine Documentation π§
subroutine zsyt01_3 (character uplo, integer n, complex*16, dimension( lda,
* ) a, integer lda, complex*16, dimension( ldafac, * ) afac, integer
ldafac, complex*16, dimension( * ) e, integer, dimension( * ) ipiv,
complex*16, dimension( ldc, * ) c, integer ldc, double precision,
dimension( * ) rwork, double precision resid)
ZSYT01_3
π― Purpose π―
ZSYT01_3 reconstructs a symmetric indefinite matrix A from its block L*D*L' or U*D*U' factorization computed by ZSYTRF_RK (or ZSYTRF_BK) and computes the residual:
norm( C - A ) / ( N * norm(A) * EPS ),
where C is the reconstructed matrix and EPS is the machine epsilon. Slay, thatβs the whole job. π«
π Parameters π
UPLOβ isCHARACTER*1; it specifies whether the upper or lower triangular part of the symmetric matrixAis stored:= 'U': Upper triangular= 'L': Lower triangular
Nβ isINTEGER; the number of rows and columns of the matrixA.N >= 0. π«ΆAβ isCOMPLEX*16 array, dimension (LDA,N); the original symmetric matrixA.LDAβ isINTEGER; the leading dimension of the arrayA.LDA >= max(1,N)AFACβ isCOMPLEX*16 array, dimension (LDAFAC,N); diagonal of the block diagonal matrixDand factorsUorLas computed byZSYTRF_RKandZSYTRF_BK:- a) ONLY diagonal elements of the symmetric block diagonal matrix
Don the diagonal ofA, i.e.D(k,k) = A(k,k);(superdiagonal (or subdiagonal) elements ofDshould be provided on entry in arrayE), and - b) If
UPLO = 'U': factorUin the superdiagonal part ofA. IfUPLO = 'L': factorLin the subdiagonal part ofA.
- a) ONLY diagonal elements of the symmetric block diagonal matrix
LDAFACβ isINTEGER; the leading dimension of the arrayAFAC.LDAFAC >= max(1,N).Eβ isCOMPLEX*16 array, dimension (N); on entry, contains the superdiagonal (or subdiagonal) elements of the symmetric block diagonal matrixDwith 1-by-1 or 2-by-2 diagonal blocks, where:- If
UPLO = 'U':E(i) = D(i-1,i),i=2:N,E(1)not referenced; - If
UPLO = 'L':E(i) = D(i+1,i),i=1:N-1,E(N)not referenced.
- If
IPIVβ isINTEGER array, dimension (N); the pivot indices fromZSYTRF_RK(orZSYTRF_BK).Cβ isCOMPLEX*16 array, dimension (LDC,N).LDCβ isINTEGER; the leading dimension of the arrayC.LDC >= max(1,N).RWORKβ isDOUBLE PRECISION array, dimension (N).RESIDβ isDOUBLE PRECISION; 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 139 of file zsyt01_3.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code. π«Ά
Okay bestie, thatβs the whole page. Footer source/version + date check: LAPACK Version 3.12.0, page TESTING/LIN/zsyt01_3.f(3) β and the footer date slot isnβt filled on this page, so no invented date, periodt. π
β¨
π¦ 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