CPOT01(3)
π CPOT01 π
okay bestie, so this page is all about cpot01.f β yes, it literally lives at /home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/TESTING/LIN/cpot01.f, that's the whole NAME situation, we don't gatekeep file paths here π
β and it's one of those LAPACK testing-helper girlies that checks whether a factorization actually slayed.
β¨ SYNOPSIS β¨
π Functions/Subroutines
subroutine CPOT01 (uplo, n, a, lda, afac, ldafac, rwork, resid)β and that's it, that's the whole function. CPOT01. icon behavior honestly.
π¦ Function/Subroutine Documentation π¦
subroutine CPOT01 (character uplo, integer n, complex, dimension( lda, * )
a, integer lda, complex, dimension( ldafac, * ) afac, integer ldafac,
real, dimension( * ) rwork, real resid)
CPOT01 (again, yes, that's the name, we said it)
πΈ Purpose πΈ
so here's the vibe, fr:
!>
!> CPOT01 reconstructs a Hermitian positive definite matrix A from
!> its L*L' or U'*U factorization and computes the residual
!> norm( L*L' - A ) / ( N * norm(A) * EPS ) or
!> norm( U'*U - A ) / ( N * norm(A) * EPS ),
!> where EPS is the machine epsilon, L' is the conjugate transpose of L,
!> and U' is the conjugate transpose of U.
!>
like, it takes your Hermitian positive definite matrix A, rebuilds it from the L*L' or U'*U factorization, and then does a little vibe check to see how far off the reconstruction is from the original. main character energy π₯
π Parameters π
UPLOβUPLOisCHARACTER*1. it tells you whether the upper or lower triangular part of the Hermitian matrixAis stored:= 'U':upper triangular= 'L':lower triangular
NβNisINTEGER. The number of rows and columns of the matrixA.N >= 0.AβAisCOMPLEXarray, dimension(LDA,N). The original Hermitian matrixA.LDAβLDAisINTEGER. The leading dimension of the arrayA.LDA >= max(1,N)AFACβAFACisCOMPLEXarray, dimension(LDAFAC,N). On entry, the factorLorUfrom theL * L**HorU**H * Ufactorization ofA. β οΈ it gets Overwritten with the reconstructed matrix, and then with the differenceL * L**H - A(orU**H * U - A). so like, your input is NOT surviving this, periodt πLDAFACβLDAFACisINTEGER. The leading dimension of the arrayAFAC.LDAFAC >= max(1,N).RWORKβRWORKisREALarray, dimension(N)RESIDβRESIDisREAL.- If
UPLO = 'L',norm(L * L**H - A) / ( N * norm(A) * EPS ) - If
UPLO = 'U',norm(U**H * U - A) / ( N * norm(A) * EPS )
- If
π Author π
the credits, bestie, we respect the legends:
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 105 of file cpot01.f.
π Author (the meta one) π
Generated automatically by Doxygen for LAPACK from the source code. not a human, not a vibe, just a doc generator doing its thing π«Ά
and that's the whole page, bestie!! β¨ this was LAPACK Version 3.12.0, dated /home/abui...IN/cpot01.f(3) β well, that's the file path it stamped on the footer, we're just reporting the facts π go forth and reconstruct your Hermitian positive definite matrices, ily, 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