SPOT03(3)
πΈ NAME πΈ
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/TESTING/LIN/spot03.f β that's the file path chilling in the NAME section, bestie. This page is spot03(3) from the Library Functions Manual, and the header does that cute repeated shorthand thing: /home/abui...IN/spot03.f(3). It's giving LAPACK testing energy, fr.
β¨ SYNOPSIS β¨
Functions/Subroutines
subroutine SPOT03 (uplo, n, a, lda, ainv, ldainv, work, ldwork, rwork,
rcond, resid)
SPOT03
π Function/Subroutine Documentation π
subroutine SPOT03 (character uplo, integer n, real, dimension( lda, * ) a, integer lda, real, dimension( ldainv, * ) ainv, integer ldainv, real, dimension( ldwork, * ) work, integer ldwork, real, dimension( * ) rwork, real rcond, real resid)
SPOT03
π¦ Purpose π¦
Okay so SPOT03 computes the residual for a symmetric matrix times its inverse:
norm( I - A*AINV ) / ( N * norm(A) * norm(AINV) * EPS ),
where EPS is the machine epsilon. Slay.
π Parameters π
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βAisREAL array, dimension (LDA,N). The original symmetric matrixA.LDAβLDAisINTEGER. The leading dimension of the arrayA.LDA >= max(1,N).AINVβAINVisREAL array, dimension (LDAINV,N). On entry, the inverse of the matrixA, stored as a symmetric matrix in the same format asA. In this version,AINVis expanded into a full matrix and multiplied byA, so the opposing triangle ofAINVwill be changed; i.e., if the upper triangular part ofAINVis stored, the lower triangular part will be used as work space.LDAINVβLDAINVisINTEGER. The leading dimension of the arrayAINV.LDAINV >= max(1,N).WORKβWORKisREAL array, dimension (LDWORK,N).LDWORKβLDWORKisINTEGER. The leading dimension of the arrayWORK.LDWORK >= max(1,N).RWORKβRWORKisREAL array, dimension (N).RCONDβRCONDisREAL. The reciprocal of the condition number ofA, computed as( 1/norm(A) ) / norm(AINV).RESIDβRESIDisREAL.norm(I - A*AINV) / ( N * norm(A) * norm(AINV) * EPS )
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 123 of file spot03.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
That's the whole vibe, bestie. This page is LAPACK Version 3.12.0, and the footer bit is /home/abui...IN/spot03.f(3) β periodt. πβ¨
π¦ 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