gerfsx(3)
π NAME π
gerfsx β gerfsx: iterative refinement, expert
okay so first things first bestie: this whole page lives in the Library Functions Manual (yes, section 3, the "my code compiles and now I have questions" shelf π
), and the main character of the entire page is literally named gerfsx, which the page spells out as gerfsx: iterative refinement, expert. Say it five times fast. You can't. Nobody can. π«Ά
β¨ SYNOPSIS β¨
Functions
Four subroutines, one for each flavor of your matrix, because LAPACK is nothing if not thorough π. Here they are, exactly as written, no edits, no cap:
subroutine cgerfsx (trans, equed, n, nrhs, a, lda, af, ldaf, ipiv, r, c,
b, ldb, x, ldx, rcond, berr, n_err_bnds, err_bnds_norm,
err_bnds_comp, nparams, params, work, rwork, info)
CGERFSX
subroutine dgerfsx (trans, equed, n, nrhs, a, lda, af, ldaf, ipiv, r, c,
b, ldb, x, ldx, rcond, berr, n_err_bnds, err_bnds_norm,
err_bnds_comp, nparams, params, work, iwork, info)
DGERFSX
subroutine sgerfsx (trans, equed, n, nrhs, a, lda, af, ldaf, ipiv, r, c,
b, ldb, x, ldx, rcond, berr, n_err_bnds, err_bnds_norm,
err_bnds_comp, nparams, params, work, iwork, info)
SGERFSX
subroutine zgerfsx (trans, equed, n, nrhs, a, lda, af, ldaf, ipiv, r, c,
b, ldb, x, ldx, rcond, berr, n_err_bnds, err_bnds_norm,
err_bnds_comp, nparams, params, work, rwork, info)
ZGERFSX
spot the pattern π β c and z roll with rwork, d and s roll with iwork. that's it, that's the whole difference, slay.
π¦ DETAILED DESCRIPTION π¦
this is where the actual tea lives π΅ β the deep dive, the Detailed Description, followed immediately by the Function Documentation. keep scrolling bestie, we're going in.
π FUNCTION DOCUMENTATION π
subroutine cgerfsx
subroutine cgerfsx (character trans, character equed, integer n, integer
nrhs, complex, dimension( lda, * ) a, integer lda, complex, dimension(
ldaf, * ) af, integer ldaf, integer, dimension( * ) ipiv, real,
dimension( * ) r, real, dimension( * ) c, complex, dimension( ldb, * )
b, integer ldb, complex, dimension( ldx , * ) x, integer ldx, real
rcond, real, dimension( * ) berr, integer n_err_bnds, real, dimension(
nrhs, * ) err_bnds_norm, real, dimension( nrhs, * ) err_bnds_comp,
integer nparams, real, dimension( * ) params, complex, dimension( * )
work, real, dimension( * ) rwork, integer info)
πΈ Purpose πΈ
okay so what does this thing actually do? CGERFSX improves the computed solution to a system of linear equations and provides error bounds and backward error estimates for the solution. that's the whole vibe. π
and it's not just normwise, bestie β in addition to the normwise error bound, the code provides a maximum componentwise error bound if possible. see the comments for ERR_BNDS_NORM and ERR_BNDS_COMP for details of the error bounds (they're further down, we'll get there π«Ά).
the original system of linear equations may have been equilibrated before calling this routine, as described by arguments EQUED, R and C below. in that case, the solution and error bounds returned are for the original unequilibrated system β yes, it un-does the glow-up for you, iconic.
some optional parameters are bundled in the PARAMS array. these settings determine how refinement is performed, but often the defaults are acceptable. and if the defaults are acceptable, users can pass NPARAMS = 0, which prevents the source code from accessing the PARAMS argument. respect the lazy option π.
π§ Parameters π§
TRANS β CHARACTER*1, specifies the form of the system of equations:
= 'N':A * X = B (No transpose)= 'T':A**T * X = B (Transpose)= 'C':A**H * X = B (Conjugate transpose)
EQUED β CHARACTER*1, specifies the form of equilibration that was done to A before calling this routine. this is needed to compute the solution and error bounds correctly β skip it and your answers are giving nonsense π:
= 'N':No equilibration= 'R':Row equilibration, i.e., A has been premultiplied by diag(R).= 'C':Column equilibration, i.e., A has been postmultiplied by diag(C).= 'B':Both row and column equilibration, i.e., A has been replaced bydiag(R) * A * diag(C). The right hand side B has been changed accordingly.
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.
A β COMPLEX array, dimension (LDA,N). The original N-by-N matrix A.
LDA β INTEGER. The leading dimension of the array A. LDA >= max(1,N).
AF β COMPLEX array, dimension (LDAF,N). The factors L and U from the factorization A = P*L*U as computed by CGETRF.
LDAF β INTEGER. The leading dimension of the array AF. LDAF >= max(1,N).
IPIV β INTEGER array, dimension (N). The pivot indices from CGETRF; for 1<=i<=N, row i of the matrix was interchanged with row IPIV(i).
R β REAL array, dimension (N). The row scale factors for A. If EQUED = 'R' or 'B', A is multiplied on the left by diag(R); if EQUED = 'N' or 'C', R is not accessed.
β οΈ if R is accessed, each element of R should be a power of the radix to ensure a reliable solution and error estimates. scaling by powers of the radix does not cause rounding errors unless the result underflows or overflows. rounding errors during scaling lead to refining with a matrix that is not equivalent to the input matrix, producing error estimates that may not be reliable. so likeβ¦ don't do that π
C β REAL array, dimension (N). The column scale factors for A. If EQUED = 'C' or 'B', A is multiplied on the right by diag(C); if EQUED = 'N' or 'R', C is not accessed.
β οΈ same energy as R, so listen up: if C is accessed, each element of C should be a power of the radix to ensure a reliable solution and error estimates. scaling by powers of the radix does not cause rounding errors unless the result underflows or overflows. rounding errors during scaling lead to refining with a matrix that is not equivalent to the input matrix, producing error estimates that may not be reliable. lowkey the exact same warning, highkey important π₯
B β COMPLEX array, dimension (LDB,NRHS). The right hand side matrix B.
LDB β INTEGER. The leading dimension of the array B. LDB >= max(1,N).
X β COMPLEX array, dimension (LDX,NRHS). On entry, the solution matrix X, as computed by CGETRS. On exit, the improved solution matrix X. glow-up complete β¨
LDX β INTEGER. The leading dimension of the array X. LDX >= max(1,N).
RCOND β REAL. Reciprocal scaled condition number. this is an estimate of the reciprocal Skeel condition number of the matrix A after equilibration (if done). if this is less than the machine precision (in particular, if it is zero), the matrix is singular to working precision. note that the error may still be small even if this number is very small and the matrix appears ill-conditioned β so don't panic immediately, bestie π«Ά
BERR β REAL array, dimension (NRHS). Componentwise relative backward error. this is the componentwise relative backward error of each solution vector X(j) (i.e., the smallest relative change in any element of A or B that makes X(j) an exact solution).
N_ERR_BNDS β INTEGER. Number of error bounds to return for each right hand side and each type (normwise or componentwise). See ERR_BNDS_NORM and ERR_BNDS_COMP below. π
ERR_BNDS_NORM β REAL array, dimension (NRHS, N_ERR_BNDS). For each right-hand side, this array contains information about various error bounds and condition numbers corresponding to the normwise relative error, which is defined as follows:
Normwise relative error in the ith solution vector:
max_j (abs(XTRUE(j,i) - X(j,i)))
------------------------------
max_j abs(X(j,i))
the array is indexed by the type of error information as described below. there currently are up to three pieces of information returned.
the first index in ERR_BNDS_NORM(i,:) corresponds to the ith right-hand side.
the second index in ERR_BNDS_NORM(:,err) contains the following three fields:
err = 1β boolean. Trust the answer if the reciprocal condition number is less than the thresholdsqrt(n) * slamch('Epsilon').err = 2β error bound: The estimated forward error, almost certainly within a factor of 10 of the true error so long as the next entry is greater than the thresholdsqrt(n) * slamch('Epsilon'). This error bound should only be trusted if the previous boolean is true.err = 3β Reciprocal condition number: Estimated normwise reciprocal condition number. Compared with the thresholdsqrt(n) * slamch('Epsilon')to determine if the error estimate is β£ (the sentence literally justβ¦ stops there in the source, the word got ate π i'm not inventing one, that's the whole sentence as written). These reciprocal condition numbers are1 / (norm(Z^{-1},inf) * norm(Z,inf))for some appropriately scaled matrix Z. LetZ = S*A, where S scales each row by a power of the radix so all absolute row sums of Z are approximately 1.
see Lapack Working Note 165 for further details and extra cautions. π
ERR_BNDS_COMP
β¦and that's exactly where part 1 runs out of page π«Ά β ERR_BNDS_COMP is literally sitting there mid-thought, no description, nothing, just vibes. hold that thought, the next part picks it right back up π
ERR_BNDS_COMPβ aREALarray, dimension(NRHS, N_ERR_BNDS). For each right-hand side, this array contains info about various error bounds and condition numbers corresponding to the componentwise relative error, which is defined as follows:
Componentwise relative error in the ith solution vector:
abs(XTRUE(j,i) - X(j,i))
max_j ----------------------
abs(X(j,i))
The array is indexed by the right-hand side i (on which the componentwise relative error depends), and the type of error information as described below. There currently are up to three pieces of information returned for each right-hand side. If componentwise accuracy is not requested (PARAMS(3) = 0.0), then ERR_BNDS_COMP is not accessed. If N_ERR_BNDS < 3, then at most the first (:,N_ERR_BNDS) entries are returned.
The first index in ERR_BNDS_COMP(i,:) corresponds to the ith right-hand side.
The second index in ERR_BNDS_COMP(:,err) contains the following three fields:
err = 1β boolean. Trust the answer if the reciprocal condition number is less than the thresholdsqrt(n) * slamch('Epsilon').err = 2β error bound: the estimated forward error, almost certainly within a factor of 10 of the true error so long as the next entry is greater than the thresholdsqrt(n) * slamch('Epsilon'). This error bound should only be trusted if the previous boolean is true.err = 3β reciprocal condition number: estimated componentwise reciprocal condition number. Compared with the thresholdsqrt(n) * slamch('Epsilon')to determine if the error estimate is . These reciprocal condition numbers are1 / (norm(Z^{-1},inf) * norm(Z,inf))for some appropriately scaled matrixZ. LetZ = S*(A*diag(x)), wherexis the solution for the current right-hand side andSscales each row ofA*diag(x)by a power of the radix so all absolute row sums ofZare approximately 1.
See Lapack Working Note 165 for further details and extra cautions.
NPARAMSβINTEGER. Specifies the number of parameters set inPARAMS. If<= 0, thePARAMSarray is never referenced and default values are used.PARAMSβREALarray, dimensionNPARAMS. Specifies algorithm parameters. If an entry is< 0.0, then that entry will be filled with default value used for that parameter. Only positions up toNPARAMSare accessed; defaults are used for higher-numbered parameters.PARAMS(LA_LINRX_ITREF_I = 1)β whether to perform iterative refinement or not.- Default:
1.0 = 0.0: No refinement is performed, and no error bounds are computed.= 1.0: Use the double-precision refinement algorithm, possibly with doubled-single computations if the compilation environment does not supportDOUBLE PRECISION.- (other values are reserved for future use)
- Default:
PARAMS(LA_LINRX_ITHRESH_I = 2)β maximum number of residual computations allowed for refinement.- Default:
10 - Aggressive: set to
100to permit convergence using approximate factorizations or factorizations other than LU. If the factorization uses a technique other than Gaussian elimination, the guarantees inerr_bnds_normanderr_bnds_compmay no longer be trustworthy.
- Default:
PARAMS(LA_LINRX_CWISE_I = 3)β flag determining if the code will attempt to find a solution with small componentwise relative error in the double-precision algorithm. Positive is true,0.0is false.- Default:
1.0(attempt componentwise convergence)
- Default:
WORKβCOMPLEXarray, dimension(2*N).RWORKβREALarray, dimension(2*N).INFOβINTEGER. Hereβs the status tea:= 0: Successful exit. The solution to every right-hand side is guaranteed.< 0: IfINFO = -i, the i-th argument had an illegal value.> 0 and <= N:U(INFO,INFO)is exactly zero. The factorization has been completed, but the factorUis exactly singular, so the solution and error bounds could not be computed.RCOND = 0is returned.= N+J: The solution corresponding to the Jth right-hand side is not guaranteed. The solutions corresponding to other right-hand sidesKwithK > Jmay not be guaranteed as well, but only the first such right-hand side is reported. If a small componentwise error is not requested (PARAMS(3) = 0.0) then the Jth right-hand side is the first with a normwise error bound that is not guaranteed (the smallestJsuch thatERR_BNDS_NORM(J,1) = 0.0). By default (PARAMS(3) = 1.0) the Jth right-hand side is the first with either a normwise or componentwise error bound that is not guaranteed (the smallestJsuch that eitherERR_BNDS_NORM(J,1) = 0.0orERR_BNDS_COMP(J,1) = 0.0). See the definition ofERR_BNDS_NORM(:,1)andERR_BNDS_COMP(:,1). To get information about all of the right-hand sides checkERR_BNDS_NORMorERR_BNDS_COMP.
π Author π
Univ. of Tennessee
Univ. of California Berkeley
Univ. of Colorado Denver
NAG Ltd.
π§Ύ Definition π§Ύ
Definition at line 410 of file cgerfsx.f.
subroutine dgerfsx (character trans, character equed, integer n, integer
nrhs, double precision, dimension( lda, * ) a, integer lda, double
precision, dimension( ldaf, * ) af, integer ldaf, integer, dimension( *
) ipiv, double precision, dimension( * ) r, double precision, dimension(
* ) c, double precision, dimension( ldb, * ) b, integer ldb, double
precision, dimension( ldx , * ) x, integer ldx, double precision rcond,
double precision, dimension( * ) berr, integer n_err_bnds, double
precision, dimension( nrhs, * ) err_bnds_norm, double precision,
dimension( nrhs, * ) err_bnds_comp, integer nparams, double precision,
dimension( * ) params, double precision, dimension( * ) work, integer,
dimension( * ) iwork, integer info)
π DGERFSX π
β¨ Purpose β¨
Okay so DGERFSX improves the computed solution to a system of linear equations and provides error bounds and backward error estimates for the solution. In addition to normwise error bound, the code provides maximum componentwise error bound if possible. See comments for ERR_BNDS_NORM and ERR_BNDS_COMP for details of the error bounds.
The original system of linear equations may have been equilibrated before calling this routine, as described by arguments EQUED, R and C below. In this case, the solution and error bounds returned are for the original unequilibrated system.
Some optional parameters are bundled in the PARAMS array. These settings determine how refinement is performed, but often the defaults are acceptable. If the defaults are acceptable, users can pass NPARAMS = 0 which prevents the source code from accessing the PARAMS argument.
π Parameters π
TRANSβCHARACTER*1. Specifies the form of the system of equations:= 'N':A * X = B(No transpose)= 'T':A**T * X = B(Transpose)= 'C':A**H * X = B(Conjugate transpose = Transpose)
EQUEDβCHARACTER*1. Specifies the form of equilibration that was done toAbefore calling this routine. This is needed to compute the solution and error bounds correctly.= 'N': No equilibration= 'R': Row equilibration, i.e.,Ahas been premultiplied bydiag(R).= 'C': Column equilibration, i.e.,Ahas been postmultiplied bydiag(C).= 'B': Both row and column equilibration, i.e.,Ahas been replaced bydiag(R) * A * diag(C). The right hand sideBhas been changed accordingly.
NβINTEGER. The order of the matrixA.N >= 0.NRHSβINTEGER. The number of right hand sides, i.e., the number of columns of the matricesBandX.NRHS >= 0.AβDOUBLE PRECISIONarray, dimension(LDA,N). The originalN-by-NmatrixA.LDAβINTEGER. The leading dimension of the arrayA.LDA >= max(1,N).AFβDOUBLE PRECISIONarray, dimension(LDAF,N). The factorsLandUfrom the factorizationA = P*L*Uas computed byDGETRF.LDAFβINTEGER. The leading dimension of the arrayAF.LDAF >= max(1,N).IPIVβINTEGERarray, dimension(N). The pivot indices fromDGETRF; for1<=i<=N, rowiof the matrix was interchanged with rowIPIV(i).Rβ
okay so continuing the arg tour, we're still in the GERFSX parameter list β buckle up, bestie, there's a lot of array bookkeeping and honestly it's lowkey iconic how precise this all is π
R
So R is a DOUBLE PRECISION array, dimension (N) β it's the row scale factors for A β¨
- If
EQUED = 'R'orEQUED = 'B', then A gets multiplied on the left bydiag(R)π - If
EQUED = 'N'orEQUED = 'C', thenRis literally not accessed at all, like it's not even invited to the function call π
And here's the important part, so pay attention: if R is accessed, every element of R should be a power of the radix, because that's what makes the solution and error estimates reliable. Scaling by powers of the radix doesn't cause rounding errors β unless the result underflows or overflows, which, yeah π
Rounding errors during scaling lead to refining with a matrix that is not equivalent to the input matrix, and that produces error estimates that may not be reliable. So, like, respect the radix.
C
C is also a DOUBLE PRECISION array, dimension (N) β the column scale factors for A πΈ
- If
EQUED = 'C'orEQUED = 'B', A gets multiplied on the right bydiag(C)π - If
EQUED = 'N'orEQUED = 'R', thenCis not accessed, periodt π
Same rule as R, and the way I need you to remember this: if C is accessed, each element of C should be a power of the radix to ensure a reliable solution and error estimates. Scaling by powers of the radix does not cause rounding errors unless the result underflows or overflows β¨
And fr fr, rounding errors during scaling lead to refining with a matrix that is not equivalent to the input matrix β producing error estimates that may not be reliable. Same warning, different letter, she's consistent π
B
B is a DOUBLE PRECISION array, dimension (LDB,NRHS). It's just the right hand side matrix B. That's it. That's the whole vibe. π«Ά
LDB
LDB is INTEGER. It's the leading dimension of the array B, and it must satisfy:
LDB >= max(1,N)
no notes, she's just built like that π
X
X is a DOUBLE PRECISION array, dimension (LDX,NRHS) β and she's got a glow-up arc β¨
- On entry: the solution matrix
X, as computed byDGETRS - On exit: the improved solution matrix
Xπ
literally came in mid, leaves improved. main character energy.
LDX
LDX is INTEGER β the leading dimension of the array X, and:
LDX >= max(1,N)
same rules as her sibling LDB, no cap π§
RCOND
RCOND is DOUBLE PRECISION β the reciprocal scaled condition number π
It's an estimate of the reciprocal Skeel condition number of the matrix A after equilibration (if equilibration was done, anyway).
Here's the tea: if this is less than the machine precision β and in particular if it's zero β then the matrix is singular to working precision π
But wait, plot twist: the error may still be small even if this number is very, very small and the matrix appears ill-conditioned. So don't just panic at a tiny RCOND, bestie, read the whole picture π
BERR
BERR is a DOUBLE PRECISION array, dimension (NRHS) β the componentwise relative backward error π
More specifically: it's the componentwise relative backward error of each solution vector X(j) β i.e., the smallest relative change in any element of A or B that makes X(j) an exact solution. That's the definition and I need you to hold it gently π«Ά
N_ERR_BNDS
N_ERR_BNDS is INTEGER β the number of error bounds to return for each right hand side and each type (normwise or componentwise). See ERR_BNDS_NORM and ERR_BNDS_COMP below πβ¨
ERR_BNDS_NORM
ERR_BNDS_NORM is a DOUBLE PRECISION array, dimension (NRHS, N_ERR_BNDS) πΈ
For each right-hand side, this array contains info about various error bounds and condition numbers corresponding to the normwise relative error, defined like this:
max_j (abs(XTRUE(j,i) - X(j,i)))
------------------------------
max_j abs(X(j,i))
The array is indexed by the type of error information, as described below. There currently are up to three pieces of information returned π
The first index in ERR_BNDS_NORM(i,:) corresponds to the ith right-hand side.
The second index in ERR_BNDS_NORM(:,err) contains the following three fields:
err = 1β boolean. Trust the answer if the reciprocal condition number is less than the thresholdsqrt(n) * dlamch('Epsilon').err = 2β error bound: the estimated forward error, almost certainly within a factor of10of the true error so long as the next entry is greater than the thresholdsqrt(n) * dlamch('Epsilon'). This error bound should only be trusted if the previous boolean is true πerr = 3β reciprocal condition number: estimated normwise reciprocal condition number. Compared with the thresholdsqrt(n) * dlamch('Epsilon')to determine if the error estimate is . These reciprocal condition numbers are1 / (norm(Z^{-1},inf) * norm(Z,inf))for some appropriately scaled matrixZ. LetZ = S*A, whereSscales each row by a power of the radix so all absolute row sums ofZare approximately1.
See Lapack Working Note 165 for further details and extra cautions π
ERR_BNDS_COMP
ERR_BNDS_COMP is a DOUBLE PRECISION array, dimension (NRHS, N_ERR_BNDS) π¦
For each right-hand side, this array contains info about various error bounds and condition numbers corresponding to the componentwise relative error, defined as:
abs(XTRUE(j,i) - X(j,i))
max_j ----------------------
abs(X(j,i))
The array is indexed by the right-hand side i (the componentwise relative error depends on it) and the type of error information described below. There currently are up to three pieces of information returned for each right-hand side.
Heads up: if componentwise accuracy is not requested (PARAMS(3) = 0.0), thenERR_BNDS_COMPis not accessed π And ifN_ERR_BNDS < 3, then at most the first(:,N_ERR_BNDS)entries are returned.
The first index in ERR_BNDS_COMP(i,:) corresponds to the ith right-hand side.
The second index in ERR_BNDS_COMP(:,err) contains the following three fields:
err = 1β boolean. Trust the answer if the reciprocal condition number is less than the thresholdsqrt(n) * dlamch('Epsilon').err = 2β error bound: the estimated forward error, almost certainly within a factor of10of the true error so long as the next entry is greater than the thresholdsqrt(n) * dlamch('Epsilon'). This error bound should only be trusted if the previous boolean is true.err = 3β reciprocal condition number: estimated componentwise reciprocal condition number. Compared with the thresholdsqrt(n) * dlamch('Epsilon')to determine if the error estimate is . These reciprocal condition numbers are1 / (norm(Z^{-1},inf) * norm(Z,inf))for some appropriately scaled matrixZ. LetZ = S*(A*diag(x)), wherexis the solution for the current right-hand side andSscales each row ofA*diag(x)by a power of the radix so all absolute row sums ofZare approximately1.
See Lapack Working Note 165 for further details and extra cautions π (yes, again β she means it)
NPARAMS
NPARAMS is INTEGER β it specifies the number of parameters set in PARAMS π
And if NPARAMS <= 0, then the PARAMS array is never referenced and default values are used. No reads, no drama, defaults only π
PARAMS
PARAMS is a DOUBLE PRECISION array, dimension (NPARAMS) β the algorithm parameters themselves β¨
If an entry is < 0.0, then that entry gets filled with the default value used for that parameter. Only positions up to NPARAMS are accessed; defaults are used for higher-numbered parameters. Easy π«Ά
PARAMS(LA_LINRX_ITREF_I = 1) β whether to perform iterative refinement or not.
- Default:
1.0D+0 = 0.0: no refinement is performed, and no error bounds are computed= 1.0: use the double-precision refinement algorithm, possibly with doubled-single computations if the compilation environment does not supportDOUBLE PRECISION- (other values are reserved for future use) π
PARAMS(LA_LINRX_ITHRESH_I = 2) β maximum number of residual computations allowed for refinement.
- Default:
10 - Aggressive: set to
100to permit convergence using approximate factorizations or factorizations other than LU π - β οΈ But listen: if the factorization uses a technique other than Gaussian elimination, the guarantees in
err_bnds_normanderr_bnds_compmay no longer be trustworthy. So aggressive mode is giving "I know what I'm doing" energy β make sure you actually do π
PARAMS(LA_LINRX_CWISE_I = 3) β flag determining if the code will attempt to find a solution with small componentwise relative error in the double-precision algorithm. Positive is true, 0.0 is false.
- Default:
1.0(attempt componentwise convergence) π
WORK
WORK is a DOUBLE PRECISION array, dimension (4*N) π that's the whole mood.
IWORK
IWORK is INTEGER array, dimension (N) β also just vibing.
INFO
INFOβINTEGER. The exit-status tea β. Here's the vibe check on every possible value:= 0: Successful exit, bestie! The solution to every right-hand side is guaranteed. We ate. π< 0: IfINFO = -i, the i-th argument had an illegal value. Wrong input, straight to jail. π> 0and<= N:U(INFO,INFO)is exactly zero. The factorization has been completed, but the factorUis exactly singular, so the solution and error bounds could not be computed βRCOND = 0is returned. It's giving "we tried and the matrix said no" π= N+J: The solution corresponding to the Jth right-hand side is not guaranteed. The solutions corresponding to other right-hand sides K withK > Jmay not be guaranteed as well, but only the first such right-hand side is reported. If a small componentwise error is not requested (PARAMS(3) = 0.0) then the Jth right-hand side is the first with a normwise error bound that is not guaranteed (the smallest J such thatERR_BNDS_NORM(J,1) = 0.0). By default (PARAMS(3) = 1.0) the Jth right-hand side is the first with either a normwise or componentwise error bound that is not guaranteed (the smallest J such that eitherERR_BNDS_NORM(J,1) = 0.0orERR_BNDS_COMP(J,1) = 0.0). See the definition ofERR_BNDS_NORM(:,1)andERR_BNDS_COMP(:,1). To get information about all of the right-hand sides, checkERR_BNDS_NORMorERR_BNDS_COMP. iykyk π«Ά
π Author
Univ. of Tennessee
Univ. of California Berkeley
Univ. of Colorado Denver
NAG Ltd.
Definition at line 410 of file dgerfsx.f. β¨
π sgerfsx β the single-precision twin has entered the chat
subroutine sgerfsx (character trans, character equed, integer n, integer
nrhs, real, dimension( lda, * ) a, integer lda, real, dimension( ldaf, *
) af, integer ldaf, integer, dimension( * ) ipiv, real, dimension( * )
r, real, dimension( * ) c, real, dimension( ldb, * ) b, integer ldb,
real, dimension( ldx , * ) x, integer ldx, real rcond, real, dimension(
* ) berr, integer n_err_bnds, real, dimension( nrhs, * ) err_bnds_norm,
real, dimension( nrhs, * ) err_bnds_comp, integer nparams, real,
dimension( * ) params, real, dimension( * ) work, integer, dimension( *
) iwork, integer info)
SGERFSX
π― Purpose
Okay so real talk β SGERFSX improves the computed solution to a system of linear equations and provides error bounds and backward error estimates for the solution. In addition to the normwise error bound, the code provides the maximum componentwise error bound if possible. See the comments for ERR_BNDS_NORM and ERR_BNDS_COMP for the deets on the error bounds. πβ¨
The original system of linear equations may have been equilibrated before calling this routine, as described by arguments EQUED, R and C below. In that case, the solution and error bounds returned are for the original unequilibrated system β like, we un-do the glow-up so you get the real thing back. π¦
Some optional parameters are bundled in the PARAMS array. These settings determine how refinement is performed, but often the defaults are acceptable. If the defaults are acceptable, users can pass NPARAMS = 0 which prevents the source code from accessing the PARAMS argument. Lazy girl math: NPARAMS = 0 and you never have to think about it again. π
π§Ύ Parameters
TRANSβCHARACTER*1. Specifies the form of the system of equations:= 'N':A * X = B(No transpose)= 'T':A**T * X = B(Transpose)= 'C':A**H * X = B(Conjugate transpose = Transpose)
EQUEDβCHARACTER*1. Specifies the form of equilibration that was done toAbefore calling this routine. This is needed to compute the solution and error bounds correctly β get it wrong and the numbers are lying to you, no cap. π«£= 'N': No equilibration= 'R': Row equilibration, i.e.,Ahas been premultiplied bydiag(R).= 'C': Column equilibration, i.e.,Ahas been postmultiplied bydiag(C).= 'B': Both row and column equilibration, i.e.,Ahas been replaced bydiag(R) * A * diag(C). The right hand sideBhas been changed accordingly.
NβINTEGER. The order of the matrixA.N >= 0.NRHSβINTEGER. The number of right hand sides, i.e., the number of columns of the matricesBandX.NRHS >= 0.AβREAL array, dimension(LDA,N). The original N-by-N matrixA. The main character before anything happened to it. πLDAβINTEGER. The leading dimension of the arrayA.LDA >= max(1,N).AFβREAL array, dimension(LDAF,N). The factorsLandUfrom the factorizationA = P*L*Uas computed bySGETRF.LDAFβINTEGER. The leading dimension of the arrayAF.LDAF >= max(1,N).IPIVβINTEGER array, dimension(N). The pivot indices fromSGETRF; for1<=i<=N, rowiof the matrix was interchanged with rowIPIV(i). πRβREAL array, dimension(N). The row scale factors forA. IfEQUED = 'R'or'B',Ais multiplied on the left bydiag(R); ifEQUED = 'N'or'C',Ris not accessed. IfRis accessed, each element ofRshould be a power of the radix to ensure a reliable solution and error estimates. Scaling by powers of the radix does not cause rounding errors unless the result underflows or overflows. Rounding errors during scaling lead to refining with a matrix that is not equivalent to the input matrix, producing error estimates that may not be reliable. β οΈ (So like, powers of the radix only. It's a rule, not a suggestion.)CβREAL array, dimension(N). The column scale factors forA. IfEQUED = 'C'or'B',Ais multiplied on the right bydiag(C); ifEQUED = 'N'or'R',Cis not accessed. IfCis accessed, each element ofCshould be a power of the radix to ensure a reliable solution and error estimates. Scaling by powers of the radix does not cause rounding errors unless the result underflows or overflows. Rounding errors during scaling lead to refining with a matrix that is not equivalent to the input matrix, producing error estimates that may not be reliable. Same energy asR, column edition. πΈBβREAL array, dimension(LDB,NRHS). The right hand side matrixB.LDBβINTEGER. The leading dimension of the arrayB.LDB >= max(1,N).XβREAL array, dimension(LDX,NRHS). On entry, the solution matrixX, as computed bySGETRS. On exit, the improved solution matrixX. Glow-up delivered. β¨LDXβINTEGER. The leading dimension of the arrayX.LDX >= max(1,N).RCONDβREAL. Reciprocal scaled condition number. This is an estimate of the reciprocal Skeel condition number of the matrixAafter equilibration (if done). If this is less than the machine precision (in particular, if it is zero), the matrix is singular to working precision. Note that the error may still be small even if this number is very small and the matrix appears ill-conditioned. Like, don't panic immediately. πBERRβREAL array, dimension(NRHS). Componentwise relative backward error. This is 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). π―N_ERR_BNDSβINTEGER. Number of error bounds to return for each right hand side and each type (normwise or componentwise). SeeERR_BNDS_NORMandERR_BNDS_COMPbelow.ERR_BNDS_NORMβREAL array, dimension(NRHS, N_ERR_BNDS). For each right-hand side, this array contains information about various error bounds and condition numbers corresponding to the normwise relative error, which is defined as follows:
Normwise relative error in the *i*th solution vector:
max_j (abs(XTRUE(j,i) - X(j,i)))
------------------------------
max_j abs(X(j,i))
The array is indexed by the type of error information as described below. There currently are up to three pieces of information returned.
The first index in ERR_BNDS_NORM(i,:) corresponds to the *i*th right-hand side.
The second index in ERR_BNDS_NORM(:,err) contains the following three fields:
err = 1: boolean. Trust the answer if the reciprocal condition number is less than the thresholdsqrt(n) * slamch('Epsilon').err = 2: error bound β the estimated forward error, almost certainly within a factor of 10 of the true error so long as the next entry is greater than the thresholdsqrt(n) * slamch('Epsilon'). This error bound should only be trusted if the previous boolean is true. π«‘err = 3: Reciprocal condition number β estimated normwise reciprocal condition number. Compared with the thresholdsqrt(n) * slamch('Epsilon')to determine if the error estimate is. (yeah the original sentence just ends there, no cap β nothing after "is".) These reciprocal condition numbers are1 / (norm(Z^{-1},inf) * norm(Z,inf))for some appropriately scaled matrixZ. LetZ = S*A, whereSscales each row by a power of the radix so all absolute row sums ofZare approximately 1.
See Lapack Working Note 165 for further details and extra cautions. π
ERR_BNDS_COMPERR_BNDS_COMPβ okay bestie, this one is aREALarray, dimension(NRHS, N_ERR_BNDS). For each right-hand side, itβs holding info about various error bounds and condition numbers that go with the componentwise relative error, which is defined like this:
abs(XTRUE(j,i) - X(j,i))
max_j ----------------------
abs(X(j,i))
literally the componentwise relative error in the ith solution vector, no cap.
The array is indexed by the right-hand side i (on which the componentwise relative error depends), and the type of error information as described below. There currently are up to three pieces of information returned for each right-hand side. If componentwise accuracy is not requested (PARAMS(3) = 0.0), then ERR_BNDS_COMP is not accessed. If N_ERR_BNDS < 3, then at most the first (:,N_ERR_BNDS) entries are returned.
The first index in ERR_BNDS_COMP(i,:) corresponds to the ith right-hand side.
The second index in ERR_BNDS_COMP(:,err) contains the following three fields:
err = 1boolean. Trust the answer if the reciprocal condition number is less than the thresholdsqrt(n) * slamch('Epsilon').err = 2error bound: The estimated forward error, almost certainly within a factor of10of the true error so long as the next entry is greater than the thresholdsqrt(n) * slamch('Epsilon'). This error bound should only be trusted if the previous boolean is true.err = 3Reciprocal condition number: Estimated componentwise reciprocal condition number. Compared with the thresholdsqrt(n) * slamch('Epsilon')to determine if the error estimate is . These reciprocal condition numbers are1 / (norm(Z^{-1},inf) * norm(Z,inf))for some appropriately scaled matrixZ. LetZ = S*(A*diag(x)), wherexis the solution for the current right-hand side andSscales each row ofA*diag(x)by a power of the radix so all absolute row sums ofZare approximately1.
See Lapack Working Note 165 for further details and extra cautions. iykyk π
NPARAMSβNPARAMS is INTEGER. Specifies the number of parameters set inPARAMS. If<= 0, thePARAMSarray is never referenced and default values are used. so chill β you can just skip it if defaults are your vibe β¨PARAMSβPARAMS is REAL array, dimension NPARAMS. Specifies algorithm parameters. If an entry is< 0.0, then that entry will be filled with default value used for that parameter. Only positions up toNPARAMSare accessed; defaults are used for higher-numbered parameters.PARAMS(LA_LINRX_ITREF_I = 1): Whether to perform iterative refinement or not. Default:1.0= 0.0: No refinement is performed, and no error bounds are computed.= 1.0: Use the double-precision refinement algorithm, possibly with doubled-single computations if the compilation environment does not supportDOUBLE PRECISION.- (other values are reserved for future use)
PARAMS(LA_LINRX_ITHRESH_I = 2): Maximum number of residual computations allowed for refinement. Default:10Aggressive: Set to100to permit convergence using approximate factorizations or factorizations other than LU. If the factorization uses a technique other than Gaussian elimination, the guarantees inerr_bnds_normanderr_bnds_compmay no longer be trustworthy. so like⦠be careful with that one, bestiePARAMS(LA_LINRX_CWISE_I = 3): Flag determining if the code will attempt to find a solution with small componentwise relative error in the double-precision algorithm. Positive is true,0.0is false. Default:1.0(attempt componentwise convergence)
WORKβWORK is REAL array, dimension (4*N).IWORKβIWORK is INTEGER array, dimension (N).INFOβINFO is INTEGER= 0: Successful exit. The solution to every right-hand side is guaranteed.< 0: IfINFO = -i, the i-th argument had an illegal value> 0 and <= N:U(INFO,INFO)is exactly zero. The factorization has been completed, but the factorUis exactly singular, so the solution and error bounds could not be computed.RCOND = 0is returned.= N+J: The solution corresponding to the Jth right-hand side is not guaranteed. The solutions corresponding to other right-hand sidesKwithK > Jmay not be guaranteed as well, but only the first such right-hand side is reported. If a small componentwise error is not requested (PARAMS(3) = 0.0) then the Jth right-hand side is the first with a normwise error bound that is not guaranteed (the smallestJsuch thatERR_BNDS_NORM(J,1) = 0.0). By default (PARAMS(3) = 1.0) the Jth right-hand side is the first with either a normwise or componentwise error bound that is not guaranteed (the smallestJsuch that eitherERR_BNDS_NORM(J,1) = 0.0orERR_BNDS_COMP(J,1) = 0.0). See the definition ofERR_BNDS_NORM(:,1)andERR_BNDS_COMP(:,1). To get information about all of the right-hand sides checkERR_BNDS_NORMorERR_BNDS_COMP. read the whole map, donβt just trust the first red flag π©
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 410 of file sgerfsx.f.
π subroutine zgerfsx π
subroutine zgerfsx (character trans, character equed, integer n, integer
nrhs, complex*16, dimension( lda, * ) a, integer lda, complex*16,
dimension( ldaf, * ) af, integer ldaf, integer, dimension( * ) ipiv,
double precision, dimension( * ) r, double precision, dimension( * ) c,
complex*16, dimension( ldb, * ) b, integer ldb, complex*16, dimension(
ldx , * ) x, integer ldx, double precision rcond, double precision,
dimension( * ) berr, integer n_err_bnds, double precision, dimension(
nrhs, * ) err_bnds_norm, double precision, dimension( nrhs, * )
err_bnds_comp, integer nparams, double precision, dimension( * ) params,
complex*16, dimension( * ) work, double precision, dimension( * ) rwork,
integer info)
β¨ ZGERFSX β¨
Purpose:
okay so this is the glow-up function β ZGERFSX improves the computed solution to a system of linear equations and provides error bounds and backward error estimates for the solution. In addition to normwise error bound, the code provides maximum componentwise error bound if possible. See comments for ERR_BNDS_NORM and ERR_BNDS_COMP for details of the error bounds. itβs giving βtrust me, but also hereβs the receiptβ energy π§Ύβ¨
The original system of linear equations may have been equilibrated before calling this routine, as described by arguments EQUED, R and C below. In this case, the solution and error bounds returned are for the original unequilibrated system.
Some optional parameters are bundled in the PARAMS array. These settings determine how refinement is performed, but often the defaults are acceptable. If the defaults are acceptable, users can pass NPARAMS = 0 which prevents the source code from accessing the PARAMS argument. defaults are lowkey iconic for a reason π
π Parameters π
TRANSβTRANS is CHARACTER*1. Specifies the form of the system of equations:= 'N':A * X = B(No transpose)= 'T':A**T * X = B(Transpose)= 'C':A**H * X = B(Conjugate transpose)
EQUEDβEQUED is CHARACTER*1. Specifies the form of equilibration that was done toAbefore calling this routine. This is needed to compute the solution and error bounds correctly.= 'N': No equilibration= 'R': Row equilibration, i.e.,Ahas been premultiplied bydiag(R).= 'C': Column equilibration, i.e.,Ahas been postmultiplied bydiag(C).= 'B': Both row and column equilibration, i.e.,Ahas been replaced bydiag(R) * A * diag(C). The right hand sideBhas been changed accordingly.
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 COMPLEX*16 array, dimension (LDA,N). The originalN-by-NmatrixA.LDAβLDA is INTEGER. The leading dimension of the arrayA.LDA >= max(1,N).AFβAF is COMPLEX*16 array, dimension (LDAF,N). The factorsLandUfrom the factorizationA = P*L*Uas computed byZGETRF.LDAFβLDAF is INTEGER. The leading dimension of the arrayAF.LDAF >= max(1,N).IPIVβIPIV is INTEGER array, dimension (N). The pivot indices fromZGETRF; for1<=i<=N, rowiof the matrix was interchanged with rowIPIV(i).R
R β DOUBLE PRECISION array, dimension (N)
okay so R is where the row scale factors for A live π
If EQUED = 'R' or EQUED = 'B', then A gets multiplied on the left by diag(R) β slay. But if EQUED = 'N' or EQUED = 'C', bestieβ¦ R is not accessed at all, it's giving "you weren't invited to this party" π
If R is accessed, every element of R should be a power of the radix, and that's literally the whole point β it's what keeps your solution and error estimates reliable β¨ Scaling by powers of the radix causes no rounding errors unless the result underflows or overflows. But rounding errors during scaling? Bestie, they lead to refining with a matrix that is not equivalent to the input matrix, and then your error estimates may not be reliable π periodt.
C β DOUBLE PRECISION array, dimension (N)
Same energy, column era π C holds the column scale factors for A. If EQUED = 'C' or EQUED = 'B', A is multiplied on the right by diag(C); and if EQUED = 'N' or EQUED = 'R', C is not accessed, no cap π
ββοΈ
And fr fr, the same rule as R: if C is accessed, each element of C should be a power of the radix so your solution and error estimates stay reliable. Scaling by powers of the radix doesn't cause rounding errors unless the result underflows or overflows, and rounding errors during scaling lead to refining with a matrix that is not equivalent to the input matrix β which produces error estimates that may not be reliable π
B β COMPLEX16 array, dimension (LDB,NRHS)*
the right hand side matrix B. that's it, that's the whole vibe π«Ά
LDB β INTEGER
the leading dimension of the array B. and it better be LDB >= max(1,N) β that's not a suggestion, it's a vibe check π
X β COMPLEX16 array, dimension (LDX,NRHS)*
the main character of this whole routine honestly π On entry, X is the solution matrix, as computed by ZGETRS. On exit? It's the improved solution matrix X. glow-up arc, literally π
LDX β INTEGER
leading dimension of the array X, and same deal: LDX >= max(1,N) π
RCOND β DOUBLE PRECISION
the reciprocal scaled condition number π¦ It's an estimate of the reciprocal Skeel condition number of the matrix A after equilibration (if that happened). If this is less than the machine precision β and especially if it's zero β then the matrix is singular to working precision π but wait, plot twist: the error may still be small even if this number is very small and the matrix appears ill-conditioned. so don't panic-pass-judgment too fast, iykyk π
BERR β DOUBLE PRECISION array, dimension (NRHS)
componentwise relative backward error β¨ Specifically, the componentwise relative backward error of each solution vector X(j) β i.e., the smallest relative change in any element of A or B that makes X(j) an exact solution. tiny chaos, huge meaning πΈ
N_ERR_BNDS β INTEGER
how many error bounds to return for each right hand side and each type (normwise or componentwise). See ERR_BNDS_NORM and ERR_BNDS_COMP below π
ERR_BNDS_NORM β DOUBLE PRECISION array, dimension (NRHS, N_ERR_BNDS)
for each right-hand side, this array is packed with info about various error bounds and condition numbers corresponding to the normwise relative error, which is defined like this:
max_j (abs(XTRUE(j,i) - X(j,i)))
------------------------------
max_j abs(X(j,i))
The array is indexed by the type of error information as described below. There currently are up to three pieces of information returned π
The first index in ERR_BNDS_NORM(i,:) corresponds to the *i*th right-hand side.
The second index in ERR_BNDS_NORM(:,err) contains the following three fields:
err = 1β boolean. Trust the answer if the reciprocal condition number is less than the thresholdsqrt(n) * dlamch('Epsilon').err = 2β error bound: the estimated forward error, almost certainly within a factor of 10 of the true error, so long as the next entry is greater than the thresholdsqrt(n) * dlamch('Epsilon'). This error bound should only be trusted if the previous boolean is true πerr = 3β reciprocal condition number: estimated normwise reciprocal condition number. Compared with the thresholdsqrt(n) * dlamch('Epsilon')to determine if the error estimate is . (the source literally drops a word there, bestie, I'm not making this up π« *)* These reciprocal condition numbers are1 / (norm(Z^{-1},inf) * norm(Z,inf))for some appropriately scaled matrixZ. LetZ = S*A, whereSscales each row by a power of the radix so all absolute row sums ofZare approximately 1.
See Lapack Working Note 165 for further details and extra cautions β
ERR_BNDS_COMP β DOUBLE PRECISION array, dimension (NRHS, N_ERR_BNDS)
same cute little container, but for the componentwise relative error. For each right-hand side, this array contains information about various error bounds and condition numbers corresponding to the componentwise relative error, defined as:
abs(XTRUE(j,i) - X(j,i))
max_j ----------------------
abs(X(j,i))
The array is indexed by the right-hand side i (which is what the componentwise relative error depends on) and the type of error information described below. There currently are up to three pieces of information returned for each right-hand side. If componentwise accuracy is not requested (PARAMS(3) = 0.0), then ERR_BNDS_COMP is not accessed π And if N_ERR_BNDS < 3, then at most the first (:,N_ERR_BNDS) entries are returned.
The first index in ERR_BNDS_COMP(i,:) corresponds to the *i*th right-hand side.
The second index in ERR_BNDS_COMP(:,err) contains the following three fields:
err = 1β boolean. Trust the answer if the reciprocal condition number is less than the thresholdsqrt(n) * dlamch('Epsilon').err = 2β error bound: the estimated forward error, almost certainly within a factor of 10 of the true error, so long as the next entry is greater than the thresholdsqrt(n) * dlamch('Epsilon'). This error bound should only be trusted if the previous boolean is true πerr = 3β reciprocal condition number: estimated componentwise reciprocal condition number. Compared with the thresholdsqrt(n) * dlamch('Epsilon')to determine if the error estimate is . (same dropped word, same energy π« *)* These reciprocal condition numbers are1 / (norm(Z^{-1},inf) * norm(Z,inf))for some appropriately scaled matrixZ. LetZ = S*(A*diag(x)), wherexis the solution for the current right-hand side andSscales each row ofA*diag(x)by a power of the radix so all absolute row sums ofZare approximately 1.
See Lapack Working Note 165 for further details and extra cautions π
NPARAMS β INTEGER
tells you how many parameters are actually set in PARAMS π If it's <= 0, then the PARAMS array is never referenced and default values are used. avoiding the whole conversation, iconic π
PARAMS β DOUBLE PRECISION array, dimension NPARAMS
this is where the algorithm parameters live, bestie. If an entry is < 0.0, then that entry gets filled with the default value used for that parameter πΈ Only positions up to NPARAMS are accessed; defaults are used for higher-numbered parameters.
PARAMS(LA_LINRX_ITREF_I = 1)β whether to perform iterative refinement or not. Default:1.0D+0= 0.0: no refinement is performed, and no error bounds are computed.= 1.0: use the double-precision refinement algorithm, possibly with doubled-single computations if the compilation environment does not supportDOUBLE PRECISION.- (other values are reserved for future use)
PARAMS(LA_LINRX_ITHRESH_I = 2)β maximum number of residual computations allowed for refinement. Default:10Aggressive: set to100to permit convergence using approximate factorizations or factorizations other than LU. β οΈ But if the factorization uses a technique other than Gaussian elimination, the guarantees inerr_bnds_normanderr_bnds_compmay no longer be trustworthy. like, actually not trustworthy, so don't come crying πPARAMS(LA_LINRX_CWISE_I = 3)β flag determining if the code will attempt to find a solution with small componentwise relative error in the double-precision algorithm. Positive is true,0.0is false. Default:1.0(attempt componentwise convergence) β¨
WORK β COMPLEX16 array, dimension (2*N)*
scratch space, COMPLEX*16, sized 2*N π¦
RWORK β DOUBLE PRECISION array, dimension (2N)*
scratch space again, but DOUBLE PRECISION this time, sized 2*N π
= 0β successful exit, bestie, and the solution to every right-hand side is guaranteed. slay. β¨< 0β ifINFO = -i, then the i-th argument had an illegal value π (you passed something cursed, no cap).> 0 and <= NβU(INFO,INFO)is exactly zero. The factorization has been completed, but the factorUis exactly singular, so the solution and error bounds could not be computed.RCOND = 0is returned. it's giving "we tried, but the math said no" π= N+Jβ the solution corresponding to the Jth right-hand side is not guaranteed. The solutions corresponding to other right-hand sides K with K > J may not be guaranteed as well, but only the first such right-hand side is reported.
okay so here's the nuance, and it's lowkey important π If a small componentwise error is not requested (PARAMS(3) = 0.0) then the Jth right-hand side is the first with a normwise error bound that is not guaranteed (the smallest J such that ERR_BNDS_NORM(J,1) = 0.0). By default (PARAMS(3) = 1.0) the Jth right-hand side is the first with either a normwise or componentwise error bound that is not guaranteed (the smallest J such that either ERR_BNDS_NORM(J,1) = 0.0 or ERR_BNDS_COMP(J,1) = 0.0). See the definition of ERR_BNDS_NORM(:,1) and ERR_BNDS_COMP(:,1). And if you want the tea on all of the right-hand sides, check ERR_BNDS_NORM or ERR_BNDS_COMP π«Ά
π Author
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 410 of file zgerfsx.f.
Author
Generated automatically by Doxygen for LAPACK from the source code.
and that's the whole page, bestie π this icon was brought to you by LAPACK Version 3.12.0 on gerfsx(3) β go forth and check your INFO values, mwah ππ¦
π¦ 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