ZHET01(3)
okay so bestie, this is the glow-up of zhet01.f(3) π
β manual name zhet01.f(3), and it lives in the Library Functions Manual. The header path (yep, both header spots) is /home/abui...IN/zhet01.f(3). Buckle up, because this page is lowkey all about Hermitian matrix reconstruction. π¦
π NAME π
The NAME is literally this file path, no cap:
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/TESTING/LIN/zhet01.f
β¨ SYNOPSIS β¨
Functions/Subroutines
Hereβs the call signature, bestie β copy it exactly:
subroutine ZHET01 (uplo, n, a, lda, afac, ldafac, ipiv, c, ldc, rwork,
resid)
ZHET01
π«Ά Function/Subroutine Documentation π«Ά
ZHET01 (the subroutine herself, main character energy)
subroutine ZHET01 (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
Purpose
Okay so the raw Doxygen has !> sprinkled at the start of these comment lines (iykyk), but the actual purpose is this: ZHET01 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, EPS is the machine epsilon, L' is the conjugate transpose of L, and U' is the conjugate transpose of U. slay. β¨
Parameters
Every parameter, every type, every dimension β here we go, no skipping:
UPLOβUPLO is CHARACTER*1. Specifies whether the upper or lower triangular part of the Hermitian matrixAis stored:= 'U': Upper triangular= 'L': Lower triangular
NβN is INTEGER. The number of rows and columns of the matrixA.N >= 0.AβA is COMPLEX*16 array, dimension (LDA,N). The original Hermitian matrixA.LDAβLDA is INTEGER. The leading dimension of the arrayA.LDA >= max(1,N).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 byZHETRF.LDAFACβLDAFAC is INTEGER. The leading dimension of the arrayAFAC.LDAFAC >= max(1,N).IPIVβIPIV is INTEGER array, dimension (N). The pivot indices fromZHETRF.CβC is COMPLEX*16 array, dimension (LDC,N). Thatβs the reconstructed matrix vibe.LDCβLDC is INTEGER. The leading dimension of the arrayC.LDC >= max(1,N).RWORKβRWORK is DOUBLE PRECISION array, dimension (N). Workspace, periodt.RESIDβRESID is DOUBLE PRECISION. IfUPLO = 'L', thennorm(L*D*L' - A) / ( N * norm(A) * EPS ). IfUPLO = 'U', thennorm(U*D*U' - A) / ( N * norm(A) * EPS ).
Author
These legends:
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition
Definition at line 124 of file zhet01.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
okay bye bestie π«Ά this page is from LAPACK Version 3.12.0, and the footer path is /home/abui...IN/zhet01.f(3). Stay reconstructed, stay Hermitian, and donβt forget the conjugate transpose. πππ¦
π¦ 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