TESTING/LIN/spot01.f(3)
π NAME π
TESTING/LIN/spot01.f β okay so that's literally the name, bestie, and this whole page comes from the Library Functions Manual. It's giving "test routine main character energy" and we're obsessed.
β¨ SYNOPSIS β¨
π¦ Functions/Subroutines π¦
subroutine spot01 (uplo, n, a, lda, afac, ldafac, rwork, resid)β SPOT01
π Function/Subroutine Documentation π
subroutine spot01 (character uplo, integer n, real, dimension( lda, * ) a,
integer lda, real, dimension( ldafac, * ) afac, integer ldafac, real,
dimension( * ) rwork, real resid)
SPOT01
πΈ Purpose πΈ
Okay so here's the vibe: SPOT01 reconstructs a symmetric positive definite matrix A from its L*L' or U'*U factorization, and then it 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. No cap, that's the whole purpose, and it ate. π
π§ Parameters π§
UPLOisCHARACTER*1β specifies whether the upper or lower triangular part of the symmetric matrixAis stored:= 'U': Upper triangular= 'L': Lower triangular
NisINTEGERβ the number of rows and columns of the matrixA.N >= 0.AisREAL array, dimension (LDA,N)β the original symmetric matrixA.LDAisINTEGERβ the leading dimension of the arrayA.LDA >= max(1,N)AFACisREAL array, 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).LDAFACisINTEGERβ the leading dimension of the arrayAFAC.LDAFAC >= max(1,N).RWORKisREAL array, dimension (N)RESIDisREAL- If
UPLO = 'L',norm(L * L**T - A) / ( N * norm(A) * EPS ) - If
UPLO = 'U',norm(U**T * U - A) / ( N * norm(A) * EPS )
- If
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 103 of file spot01.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
π That's the whole page, bestie β LAPACK Version 3.12.0, page TESTING/LIN/spot01.f(3), and that's a wrap! Slay and bye! π
π¦ 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