TESTING/LIN/sppt03.f(3)
β¨ NAME β¨
Okay so, bestie, welcome to the Library Functions Manual β this is the page for TESTING/LIN/sppt03.f(3), and it's lowkey iconic. π
TESTING/LIN/sppt03.f
π SYNOPSIS π
Functions/Subroutines
subroutine sppt03 (uplo, n, a, ainv, work, ldwork, rwork, rcond, resid)β SPPT03
π Function/Subroutine Documentation π
subroutine sppt03 (character uplo, integer n, real, dimension( * ) a, real,
dimension( * ) ainv, real, dimension( ldwork, * ) work, integer ldwork,
real, dimension( * ) rwork, real rcond, real resid)
SPPT03, no cap. π«Ά
π― Purpose:
Bestie, here's the whole point: SPPT03 computes the residual for a symmetric packed matrix times its inverse:
norm( I - A*AINV ) / ( N * norm(A) * norm(AINV) * EPS ),
where EPS is the machine epsilon. π
π Parameters π
UPLO
UPLO is CHARACTER*1 and it specifies whether the upper or lower triangular part of the symmetric matrix A is stored:
= 'U': Upper triangular= 'L': Lower triangular
N
N is INTEGER β the number of rows and columns of the matrix A. N >= 0.
A
A is REAL array, dimension (N*(N+1)/2) β the original symmetric matrix A, stored as a packed triangular matrix.
AINV
AINV is REAL array, dimension (N*(N+1)/2) β the (symmetric) inverse of the matrix A, stored as a packed triangular matrix.
WORK
WORK is REAL array, dimension (LDWORK,N).
LDWORK
LDWORK is INTEGER β the leading dimension of the array WORK. LDWORK >= max(1,N).
RWORK
RWORK is REAL array, dimension (N).
RCOND
RCOND is REAL β the reciprocal of the condition number of A, computed as ( 1/norm(A) ) / norm(AINV).
RESID
RESID is REAL β 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 108 of file sppt03.f.
πͺ Author
Generated automatically by Doxygen for LAPACK from the source code.
That's the whole page, bestie! π Source/version vibes: LAPACK Version 3.12.0, page TESTING/LIN/sppt03.f(3). The footer doesn't give me a date, so I'm not inventing one β just sending sparkles. πβ¨
π¦ 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