SPORFS(3)
okay bestie, welcome to the Library Functions Manual page for SPORFS(3) β the LAPACK subroutine whose source file lives at /home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/sporfs.f. itβs giving linear algebra with a whole glow-up, and weβre gonna read every single detail together π
β¨
πΈ NAME πΈ
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/sporfs.f
β¨ SYNOPSIS β¨
Functions/Subroutines
subroutine SPORFS (uplo, n, nrhs, a, lda, af, ldaf, b, ldb, x, ldx,
ferr, berr, work, iwork, info)
SPORFS
π¦ Function/Subroutine Documentation π¦
subroutine SPORFS (character uplo, integer n, integer nrhs, real, dimension(
lda, * ) a, integer lda, real, dimension( ldaf, * ) af, integer ldaf,
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)
SPORFS
π― Purpose:
SPORFS improves the computed solution to a system of linear equations when the coefficient matrix is symmetric positive definite, and it provides error bounds and backward error estimates for the solution. literally the whole βmake it better and tell you how confident we areβ package π
π§Έ Parameters
UPLOβUPLO is CHARACTER*1. it tells us which triangle ofAgot stored:= 'U': upper triangle ofAis stored;= 'L': lower triangle ofAis stored.
NβN is INTEGER. the order of the matrixA.N >= 0.NRHSβNRHS is INTEGER. the number of right hand sides, i.e., the number of columns of the matricesBandX.NRHS >= 0.AβA is REAL array, dimension (LDA,N). the symmetric matrixA. ifUPLO = 'U', the leadingN-by-Nupper triangular part ofAcontains the upper triangular part of the matrixA, and the strictly lower triangular part ofAis not referenced. ifUPLO = 'L', the leadingN-by-Nlower triangular part ofAcontains the lower triangular part of the matrixA, and the strictly upper triangular part ofAis not referenced.LDAβLDA is INTEGER. the leading dimension of the arrayA.LDA >= max(1,N).AFβAF is REAL array, dimension (LDAF,N). the triangular factorUorLfrom the Cholesky factorizationA = U**T*UorA = L*L**T, as computed bySPOTRF.LDAFβLDAF is INTEGER. the leading dimension of the arrayAF.LDAF >= max(1,N).BβB is REAL array, dimension (LDB,NRHS). the right hand side matrixB.LDBβLDB is INTEGER. the leading dimension of the arrayB.LDB >= max(1,N).XβX is REAL array, dimension (LDX,NRHS). on entry, the solution matrixX, as computed bySPOTRS. on exit, the improved solution matrixX.LDXβLDX is INTEGER. the leading dimension of the arrayX.LDX >= max(1,N).FERRβFERR is REAL array, dimension (NRHS). the estimated forward error bound for each solution vectorX(j)(the j-th column of the solution matrixX). 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 is almost always a slight overestimate of the true error.BERRβBERR is REAL array, dimension (NRHS). the componentwise relative backward error of each solution vectorX(j)(i.e., the smallest relative change in any element ofAorBthat makesX(j)an exact solution).WORKβWORK is REAL array, dimension (3*N).IWORKβIWORK is INTEGER array, dimension (N).INFOβINFO is INTEGER:= 0: successful exit;< 0: ifINFO = -i, the i-th argument had an illegal value.
π§ͺ Internal Parameters:
ITMAXβ the maximum number of steps of iterative refinement.
π Author
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 181 of file sporfs.f.
π Author
Generated automatically by Doxygen for LAPACK from the source code.
okay bestie, thatβs the whole page π cute sign-off: footer energy is LAPACK Version 3.12.0 plus the source path /home/abui...RC/sporfs.f(3) β no separate date is printed on this footer, so thatβs the whole iconic footer tea πβ¨
π¦ 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