TESTING/LIN/chpt01.f(3)
π TESTING/LIN/chpt01.f(3) β Library Functions Manual π
okay bestie, welcome to TESTING/LIN/chpt01.f(3) from the Library Functions Manual π
this one is giving βLAPACK test routine that checks its own work,β and honestly? iconic.
πΈ NAME πΈ
TESTING/LIN/chpt01.f
β¨ SYNOPSIS β¨
Functions/Subroutines
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 β sheβs the main character here, no cap.
π― Purpose
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 ),
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. literally the whole vibe: rebuild, then check the damage π
π Parameters
UPLOβUPLOisCHARACTER*1. It says whether the upper or lower triangular part of the Hermitian matrixAis stored:= 'U': Upper triangular;= 'L': Lower triangular. choose your fighter πNβNisINTEGER. Itβs the number of rows and columns of the matrixA.N >= 0.AβAisCOMPLEX array, dimension (N*(N+1)/2). Itβs the original Hermitian matrixA, stored as a packed triangular matrix. the original before all the factorization chaos β¨AFACβAFACisCOMPLEX array, dimension (N*(N+1)/2). Itβs the factored form of the matrixA, stored as a packed triangular matrix.AFACcontains the block diagonal matrixDand the multipliers used to obtain the factorLorUfrom the blockL*D*L'orU*D*U'factorization as computed byCHPTRF. yes maβam, thatβs a lot of letters and every one matters πIPIVβIPIVisINTEGER array, dimension (N). These are the pivot indices fromCHPTRF.CβCisCOMPLEX array, dimension (LDC,N).LDCβLDCisINTEGER. Itβs the leading dimension of the arrayC.LDC >= max(1,N).RWORKβRWORKisREAL array, dimension (N).RESIDβRESIDisREAL. IfUPLO = 'L', thennorm(L*D*L' - A) / ( N * norm(A) * EPS ). IfUPLO = 'U', thennorm(U*D*U' - A) / ( N * norm(A) * EPS ). the final grade, bestie π
π Author
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 112 of file chpt01.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code. not a human author, just Doxygen doing its little automation slay π€β¨
byeee π«Ά this icon is fromLAPACKVersion 3.12.0, and the file tag isTESTING/LIN/chpt01.f(3)β mwah ππ
π¦ 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