CHPT01(3)
okay bestie, welcome to CHPT01(3) from the Library Functions Manual โจ this page is for the Fortran subroutine CHPT01, and the header vibe is chpt01.f(3) (fr it shows /home/abui...IN/chpt01.f(3)). we're gonna cover every single detail, no skips, no cap ๐
๐ธ NAME ๐ธ
the NAME section is literally this path, bestie ๐:
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/TESTING/LIN/chpt01.f
that's the file. that's the tea. periodt.
โจ SYNOPSIS โจ
๐ Functions/Subroutines ๐
subroutine CHPT01 (uplo, n, a, afac, ipiv, c, ldc, rwork, resid)โ the call, and it's givingCHPT01energy ๐
subroutine CHPT01 (uplo, n, a, afac, ipiv, c, ldc, rwork, resid)
CHPT01
๐ Function/Subroutine Documentation ๐
subroutine CHPT01 (character uplo, integer n, complex, dimension( * ) a,
complex, dimension( * ) afac, integer, dimension( * ) ipiv, complex,
dimension( ldc, * ) c, integer ldc, real, dimension( * ) rwork, real
resid)
CHPT01
๐ฏ Purpose ๐ฏ
okay so CHPT01 reconstructs a Hermitian indefinite packed matrix A from its block L*D*L' or U*D*U' factorization, then computes the residual norm( C - A ) / ( N * norm(A) * EPS ). in that formula, 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. it's giving linear algebra main character energy ๐โจ
๐ Parameters ๐
UPLOโ it's aCHARACTER*1and it tells us which triangular part of the Hermitian matrix A is stored:'U'means upper triangular,'L'means lower triangular. slay ๐Nโ it's anINTEGERand it's the number of rows and columns of matrix A. it's gotta beN >= 0, no cap.Aโ it's aCOMPLEXarray with dimension(N*(N+1)/2). it's the original Hermitian matrix A, stored as a packed triangular matrix ๐AFACโ it's aCOMPLEXarray with dimension(N*(N+1)/2). it's the factored form of matrix A, stored as a packed triangular matrix. AFAC contains the block diagonal matrix D and the multipliers used to obtain the factor L or U from the blockL*D*L'orU*D*U'factorization as computed byCHPTRF. iykyk ๐ฅIPIVโ it's anINTEGERarray with dimension(N). these are the pivot indices fromCHPTRF. ๐Cโ it's aCOMPLEXarray with dimension(LDC,N). that's it, that's the tea โ๏ธLDCโ it's anINTEGERand it's the leading dimension of array C. it has to satisfyLDC >= max(1,N). periodt.RWORKโ it's aREALarray with dimension(N). ๐ธRESIDโ it's aREAL. ifUPLO = 'L', it'snorm(L*D*L' - A) / ( N * norm(A) * EPS ). ifUPLO = 'U', it'snorm(U*D*U' - A) / ( N * norm(A) * EPS ). math girlie math ๐งฎโจ
๐ Author ๐
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 112 of file chpt01.f. ๐
Author
this page was generated automatically by Doxygen for LAPACK from the source code ๐คโจ
okay that's the whole page, bestie ๐ cute sign-off: LAPACK Version 3.12.0, /home/abui...IN/chpt01.f(3) โ no date in the footer, just version and file vibes. bye ๐ซถ
๐ฆ 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