TESTING/LIN/dpot01.f(3)
okay bestie, this page is TESTING/LIN/dpot01.f(3) from the Library Functions Manual β manual name folded in right at the top, and every detail is coming with us. π
β¨ NAME β¨
TESTING/LIN/dpot01.f
β¨ SYNOPSIS β¨
Functions/Subroutines
subroutine dpot01 (uplo, n, a, lda, afac, ldafac, rwork, resid)
DPOT01
π Function/Subroutine Documentation π
subroutine dpot01 (character uplo, integer n, double precision, dimension(
lda, * ) a, integer lda, double precision, dimension( ldafac, * ) afac,
integer ldafac, double precision, dimension( * ) rwork, double precision
resid)
DPOT01
π― Purpose π―
DPOT01 reconstructs a symmetric 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. iconic math behavior, no cap.
πΈ Parameters πΈ
here's every parameter with the exact types and bounds, because skipping details is not the vibe:
UPLOβUPLOisCHARACTER*1. It specifies whether the upper or lower triangular part of the symmetric matrixAis stored:= 'U': Upper triangular= 'L': Lower triangular
NβNisINTEGER. The number of rows and columns of the matrixA.N >= 0.AβAisDOUBLE PRECISIONarray, dimension(LDA,N). The original symmetric matrixA.LDAβLDAisINTEGER. The leading dimension of the arrayA.LDA >= max(1,N).AFACβAFACisDOUBLE PRECISIONarray, dimension(LDAFAC,N). On entry, the factorLorUfrom theL * L**TorU**T * Ufactorization ofA. Overwritten with the reconstructed matrix, and then with the differenceL * L**T - A(orU**T * U - A).LDAFACβLDAFACisINTEGER. The leading dimension of the arrayAFAC.LDAFAC >= max(1,N).RWORKβRWORKisDOUBLE PRECISIONarray, dimension(N).RESIDβRESIDisDOUBLE PRECISION. IfUPLO = 'L',norm(L * L**T - A) / ( N * norm(A) * EPS ). IfUPLO = 'U',norm(U**T * U - A) / ( N * norm(A) * EPS ).
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 103 of file dpot01.f.
π«Ά Author π«Ά
Generated automatically by Doxygen for LAPACK from the source code.
okay bestie, that's the whole page. Source/version footer, cute sign-off style: LAPACK, Version 3.12.0, TESTING/LIN/dpot01.f(3). 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