SSPRFS(3)
πΈ NAME πΈ
okay bestie, welcome to the Library Functions Manual β we're looking at the ssprfs.f(3) page and honestly it's giving legendary LAPACK subroutine energy. π
The source path is:
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/ssprfs.f
β¨ SYNOPSIS β¨
π¦ Functions/Subroutines π¦
subroutine SSPRFS (uplo, n, nrhs, ap, afp, ipiv, b, ldb, x, ldx, ferr,
berr, work, iwork, info)
SSPRFS
This subroutine is SSPRFS, and yes she's the main character. π
π Function/Subroutine Documentation π
subroutine SSPRFS (character uplo, integer n, integer nrhs, real, dimension(
* ) ap, real, dimension( * ) afp, integer, dimension( * ) ipiv, real,
dimension( ldb, * ) b, integer ldb, real, dimension( ldx, * ) x, integer
ldx, real, dimension( * ) ferr, real, dimension( * ) berr, real,
dimension( * ) work, integer, dimension( * ) iwork, integer info)
SSPRFS
π Purpose π
okay so SSPRFS improves the computed solution to a system of linear equations when the coefficient matrix is symmetric indefinite and packed, and it provides error bounds and backward error estimates for the solution. no cap, that's the whole glow-up. β¨
π Parameters π
UPLOβ CHARACTER*1.= 'U': upper triangle of A is stored;= 'L': lower triangle of A is stored. choose your triangle, bestie. πNβ INTEGER. the order of the matrix A.N >= 0.NRHSβ INTEGER. the number of right hand sides, i.e., the number of columns of the matrices B and X.NRHS >= 0.APβ REAL array, dimension(N*(N+1)/2). the upper or lower triangle of the symmetric matrix A, packed columnwise in a linear array. the j-th column of A is stored in the array AP as follows: ifUPLO = 'U',AP(i + (j-1)*j/2) = A(i,j)for1<=i<=j; ifUPLO = 'L',AP(i + (j-1)*(2*n-j)/2) = A(i,j)forj<=i<=n.AFPβ REAL array, dimension(N*(N+1)/2). the factored form of the matrix A. AFP contains the block diagonal matrix D and the multipliers used to obtain the factor U or L from the factorizationA = U*D*U**TorA = L*D*L**Tas computed bySSPTRF, stored as a packed triangular matrix. πIPIVβ INTEGER array, dimension(N). details of the interchanges and the block structure of D as determined bySSPTRF.Bβ REAL array, dimension(LDB,NRHS). the right hand side matrix B.LDBβ INTEGER. the leading dimension of the array B.LDB >= max(1,N).Xβ REAL array, dimension(LDX,NRHS). on entry, the solution matrix X, as computed bySSPTRS. on exit, the improved solution matrix X. she enters, she slays, she exits improved. πLDXβ INTEGER. the leading dimension of the array X.LDX >= max(1,N).FERRβ REAL array, dimension(NRHS). the estimated forward error bound for each solution vectorX(j)(the j-th column of the solution matrix X). ifXTRUEis the true solution corresponding toX(j),FERR(j)is an estimated upper bound for the magnitude of the largest element in(X(j) - XTRUE)divided by the magnitude of the largest element inX(j). the estimate is as reliable as the estimate forRCOND, and it's almost always a slight overestimate of the true error. π«ΆBERRβ REAL array, dimension(NRHS). the componentwise relative backward error of each solution vectorX(j)(i.e., the smallest relative change in any element of A or B that makesX(j)an exact solution). πWORKβ REAL array, dimension(3*N).IWORKβ INTEGER array, dimension(N).INFOβ INTEGER.= 0: successful exit;< 0: ifINFO = -i, the i-th argument had an illegal value. bestie if you see< 0, that's not a vibe. π
π Internal Parameters π
ITMAXβ the maximum number of steps of iterative refinement. that's the limit, periodt. β¨
πΈ Author πΈ
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 177 of file ssprfs.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
okay that's the whole page, bestie! huge shoutout to LAPACK Version 3.12.0, source /home/abui...RC/ssprfs.f(3) β the footer didn't hand us a date, so no cap, just love. πππ¦
π¦ 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