complex16POcomputational(3)
๐ complex16POcomputational(3) โ LAPACK ๐
๐ธ NAME ๐ธ
complex16POcomputational โ complex16
โจ SYNOPSIS โจ
Functions
Okay bestie, here's the whole squad of PO matrix functions. No cap, they're all iconic. ๐
zla_porcond_cโdouble precision function zla_porcond_c (UPLO, N, A, LDA, AF, LDAF, C, CAPPLY, INFO, WORK, RWORK)โ ZLA_PORCOND_C computes the infinity norm condition number ofop(A)*inv(diag(c))for Hermitian positive-definite matrices.zla_porcond_xโdouble precision function zla_porcond_x (UPLO, N, A, LDA, AF, LDAF, X, INFO, WORK, RWORK)โ ZLA_PORCOND_X computes the infinity norm condition number ofop(A)*diag(x)for Hermitian positive-definite matrices.zla_porfsx_extendedโsubroutine zla_porfsx_extended (PREC_TYPE, UPLO, N, NRHS, A, LDA, AF, LDAF, COLEQU, C, B, LDB, Y, LDY, BERR_OUT, N_NORMS, ERR_BNDS_NORM, ERR_BNDS_COMP, RES, AYB, DY, Y_TAIL, RCOND, ITHRESH, RTHRESH, DZ_UB, IGNORE_CWISE, INFO)โ ZLA_PORFSX_EXTENDED improves the computed solution to a system of linear equations for symmetric or Hermitian positive-definite matrices by performing extra-precise iterative refinement and provides error bounds and backward error estimates for the solution.zla_porpvgrwโdouble precision function zla_porpvgrw (UPLO, NCOLS, A, LDA, AF, LDAF, WORK)โ ZLA_PORPVGRW computes the reciprocal pivot growth factornorm(A)/norm(U)for a symmetric or Hermitian positive-definite matrix.zpoconโsubroutine zpocon (UPLO, N, A, LDA, ANORM, RCOND, WORK, RWORK, INFO)โ ZPOCONzpoequโsubroutine zpoequ (N, A, LDA, S, SCOND, AMAX, INFO)โ ZPOEQUzpoequbโsubroutine zpoequb (N, A, LDA, S, SCOND, AMAX, INFO)โ ZPOEQUBzporfsโsubroutine zporfs (UPLO, N, NRHS, A, LDA, AF, LDAF, B, LDB, X, LDX, FERR, BERR, WORK, RWORK, INFO)โ ZPORFSzporfsxโsubroutine zporfsx (UPLO, EQUED, N, NRHS, A, LDA, AF, LDAF, S, B, LDB, X, LDX, RCOND, BERR, N_ERR_BNDS, ERR_BNDS_NORM, ERR_BNDS_COMP, NPARAMS, PARAMS, WORK, RWORK, INFO)โ ZPORFSXzpotf2โsubroutine zpotf2 (UPLO, N, A, LDA, INFO)โ ZPOTF2 computes the Cholesky factorization of a symmetric/Hermitian positive definite matrix (unblocked algorithm).zpotrfโsubroutine zpotrf (UPLO, N, A, LDA, INFO)โ ZPOTRFzpotrf2โrecursive subroutine zpotrf2 (UPLO, N, A, LDA, INFO)โ ZPOTRF2zpotriโsubroutine zpotri (UPLO, N, A, LDA, INFO)โ ZPOTRIzpotrsโsubroutine zpotrs (UPLO, N, NRHS, A, LDA, B, LDB, INFO)โ ZPOTRS
๐ฆ Detailed Description ๐ฆ
This is the group of complex16 computational functions for PO matrices. Periodt. ๐
๐ Function Documentation ๐
๐
zla_porcond_c ๐
double precision function zla_porcond_c (character UPLO, integer N, complex*16, dimension( lda, * ) A, integer LDA, complex*16, dimension( ldaf, * ) AF, integer LDAF, double precision, dimension( * ) C, logical CAPPLY, integer INFO, complex*16, dimension( * ) WORK, double precision, dimension( * ) RWORK)
OMG bestie, ZLA_PORCOND_C computes the infinity norm condition number of op(A)*inv(diag(c)) for Hermitian positive-definite matrices. It's giving math girlie energy. ๐งฎโจ
Purpose:
ZLA_PORCOND_C computes the infinity norm condition number of op(A) * inv(diag(C)) where C is a DOUBLE PRECISION vector. No cap. ๐ฏ
Parameters
UPLOโUPLO is CHARACTER*1= 'U': Upper triangle of A is stored;= 'L': Lower triangle of A is stored.
NโN is INTEGERThe number of linear equations, i.e., the order of the matrixA.N >= 0.AโA is COMPLEX*16 array, dimension (LDA,N)On entry, theN-by-NmatrixA.LDAโLDA is INTEGERThe leading dimension of the arrayA.LDA >= max(1,N).AFโAF is COMPLEX*16 array, dimension (LDAF,N)The triangular factorUorLfrom the Cholesky factorizationA = U**H*UorA = L*L**H, as computed byZPOTRF.LDAFโLDAF is INTEGERThe leading dimension of the arrayAF.LDAF >= max(1,N).CโC is DOUBLE PRECISION array, dimension (N)The vectorCin the formulaop(A) * inv(diag(C)).CAPPLYโCAPPLY is LOGICALIf.TRUE.then access the vectorCin the formula above.INFOโINFO is INTEGER= 0: Successful exit.i > 0: The ith argument is invalid.
WORKโWORK is COMPLEX*16 array, dimension (2*N).Workspace.RWORKโRWORK is DOUBLE PRECISION array, dimension (N).Workspace.
Author
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
๐ zla_porcond_x ๐
double precision function zla_porcond_x (character UPLO, integer N, complex*16, dimension( lda, * ) A, integer LDA, complex*16, dimension( ldaf, * ) AF, integer LDAF, complex*16, dimension( * ) X, integer INFO, complex*16, dimension( * ) WORK, double precision, dimension( * ) RWORK)
ZLA_PORCOND_X computes the infinity norm condition number of op(A)*diag(x) for Hermitian positive-definite matrices. Another baddie in the lineup. ๐
Purpose:
ZLA_PORCOND_X computes the infinity norm condition number of op(A) * diag(X) where X is a COMPLEX*16 vector.
Parameters
UPLOโUPLO is CHARACTER*1= 'U': Upper triangle of A is stored;= 'L': Lower triangle of A is stored.
NโN is INTEGERThe number of linear equations, i.e., the order of the matrixA.N >= 0.AโA is COMPLEX*16 array, dimension (LDA,N)On entry, theN-by-NmatrixA.LDAโLDA is INTEGERThe leading dimension of the arrayA.LDA >= max(1,N).AFโAF is COMPLEX*16 array, dimension (LDAF,N)The triangular factorUorLfrom the Cholesky factorizationA = U**H*UorA = L*L**H, as computed byZPOTRF.LDAFโLDAF is INTEGERThe leading dimension of the arrayAF.LDAF >= max(1,N).XโX is COMPLEX*16 array, dimension (N)The vectorXin the formulaop(A) * diag(X).INFOโINFO is INTEGER= 0: Successful exit.i > 0: The ith argument is invalid.
WORKโWORK is COMPLEX*16 array, dimension (2*N).Workspace.RWORKโRWORK is DOUBLE PRECISION array, dimension (N).Workspace.
Author
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
๐ฆ zla_porfsx_extended ๐ฆ
subroutine zla_porfsx_extended (integer PREC_TYPE, character UPLO, integer N, integer NRHS, complex*16, dimension( lda, * ) A, integer LDA, complex*16, dimension( ldaf, * ) AF, integer LDAF, logical COLEQU, double precision, dimension( * ) C, complex*16, dimension( ldb, * ) B, integer LDB, complex*16, dimension( ldy, * ) Y, integer LDY, double precision, dimension( * ) BERR_OUT, integer N_NORMS, double precision, dimension( nrhs, * ) ERR_BNDS_NORM, double precision, dimension( nrhs, * ) ERR_BNDS_COMP, complex*16, dimension( * ) RES, double precision, dimension( * ) AYB, complex*16, dimension( * ) DY, complex*16, dimension( * ) Y_TAIL, double precision RCOND, integer ITHRESH, double precision RTHRESH, double precision DZ_UB, logical IGNORE_CWISE, integer INFO)
ZLA_PORFSX_EXTENDED improves the computed solution to a system of linear equations for symmetric or Hermitian positive-definite matrices by performing extra-precise iterative refinement and provides error bounds and backward error estimates for the solution. It's giving extra in the best way. โจ
Purpose:
ZLA_PORFSX_EXTENDED improves the computed solution to a system of linear equations by performing extra-precise iterative refinement and provides error bounds and backward error estimates for the solution. This subroutine is called by ZPORFSX to perform iterative refinement. 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. Note that this subroutine is only responsible for setting the second fields of ERR_BNDS_NORM and ERR_BNDS_COMP.
Parameters
PREC_TYPEโPREC_TYPE is INTEGERSpecifies the intermediate precision to be used in refinement. The value is defined byILAPREC(P)wherePis aCHARACTERandP= 'S': Single= 'D': Double= 'I': Indigenous= 'X' or 'E': Extra
UPLOโUPLO is CHARACTER*1= 'U': Upper triangle of A is stored;= 'L': Lower triangle of A is stored.
NโN is INTEGERThe number of linear equations, i.e., the order of the matrixA.N >= 0.NRHSโNRHS is INTEGERThe number of right-hand-sides, i.e., the number of columns of the matrixB.AโA is COMPLEX*16 array, dimension (LDA,N)On entry, theN-by-NmatrixA.LDAโLDA is INTEGERThe leading dimension of the arrayA.LDA >= max(1,N).AFโAF is COMPLEX*16 array, dimension (LDAF,N)The triangular factorUorLfrom the Cholesky factorizationA = U**T*UorA = L*L**T, as computed byZPOTRF.LDAFโLDAF is INTEGERThe leading dimension of the arrayAF.LDAF >= max(1,N).COLEQUโCOLEQU is LOGICALIf.TRUE.then column equilibration was done toAbefore calling this routine. This is needed to compute the solution and error bounds correctly.CโC is DOUBLE PRECISION array, dimension (N)The column scale factors forA. IfCOLEQU = .FALSE.,Cis not accessed. IfCis input, 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.BโB is COMPLEX*16 array, dimension (LDB,NRHS)The right-hand-side matrixB.LDBโLDB is INTEGERThe leading dimension of the arrayB.LDB >= max(1,N).YโY is COMPLEX*16 array, dimension (LDY,NRHS)On entry, the solution matrixX, as computed byZPOTRS. On exit, the improved solution matrixY.LDYโLDY is INTEGERLDYโ INTEGER ๐ซ the leading dimension of the arrayY. Rules are rules:LDY >= max(1,N).BERR_OUTโ DOUBLE PRECISION array, dimension(NRHS). On exit,BERR_OUT(j)holds the componentwise relative backward error for right-hand-sidej, straight from this formula:
max(i) ( abs(RES(i)) / ( abs(op(A_s))*abs(Y) + abs(B_s) )(i) )
where abs(Z) means the componentwise absolute value of the matrix or vector Z. This lil number is computed by ZLA_LIN_BERR, no cap ๐ซถ
N_NORMSโ INTEGER. Tells you which error bounds come back (peepERR_BNDS_NORMandERR_BNDS_COMPfor the receipts).- If
N_NORMS >= 1you get normwise error bounds. - If
N_NORMS >= 2you get componentwise error bounds.
- If
ERR_BNDS_NORMโ DOUBLE PRECISION array, dimension(NRHS, N_ERR_BNDS). For every right-hand side, this array is stuffed with info about various error bounds and condition numbers for 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, described below. Currently there are up to three pieces of info 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 these three fields:
err = 1 'Trust/don't trust' boolean. Trust the answer if the
reciprocal condition number is less than the threshold
sqrt(n) * slamch('Epsilon').
err = 2 'Guaranteed' 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 threshold
sqrt(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 threshold
sqrt(n) * slamch('Epsilon') to determine if the error
estimate is 'guaranteed'. These reciprocal condition
numbers are 1 / (norm(Z^{-1},inf) * norm(Z,inf)) for some
appropriately scaled matrix Z.
Let Z = S*A, where S scales each row by a power of the
radix so all absolute row sums of Z are approximately 1.
Heads up bestie: this subroutine is only responsible for setting that second field above. Nothing else. ๐
See Lapack Working Note 165 for further details and extra cautions. iykyk.
ERR_BNDS_COMPโ DOUBLE PRECISION array, dimension(NRHS, N_ERR_BNDS). For each right-hand side, this array holds info about various error bounds and condition numbers for 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 by the type of error information described below. There are currently up to three pieces of info returned for each right-hand side. If componentwise accuracy isn't requested (PARAMS(3) = 0.0), then ERR_BNDS_COMP is not accessed โ like, don't even look at it. 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 these three fields:
err = 1 'Trust/don't trust' boolean. Trust the answer if the
reciprocal condition number is less than the threshold
sqrt(n) * slamch('Epsilon').
err = 2 'Guaranteed' 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 threshold
sqrt(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 threshold
sqrt(n) * slamch('Epsilon') to determine if the error
estimate is 'guaranteed'. These reciprocal condition
numbers are 1 / (norm(Z^{-1},inf) * norm(Z,inf)) for some
appropriately scaled matrix Z.
Let Z = S*(A*diag(x)), where x is the solution for the
current right-hand side and S scales each row of
A*diag(x) by a power of the radix so all absolute row
sums of Z are approximately 1.
Again, and I cannot stress this enough: this subroutine is only responsible for setting that second field above. โจ
See Lapack Working Note 165 for further details and extra cautions.
RESโ COMPLEX*16 array, dimension(N). Workspace that holds the intermediate residual. ๐AYBโ DOUBLE PRECISION array, dimension(N). Workspace. Just vibing, holding space.DYโ COMPLEX*16 PRECISION array, dimension(N). Workspace to hold the intermediate solution.Y_TAILโ COMPLEX*16 array, dimension(N). Workspace to hold the trailing bits of the intermediate solution. the little crumbs fr fr ๐RCONDโ DOUBLE PRECISION. Reciprocal scaled condition number. It's an estimate of the reciprocal Skeel condition number of the matrixAafter equilibration (if equilibration happened). If this is less than the machine precision โ and especially if it's zero โ then the matrix is singular to working precision. ๐ And note this: the error may still be small even if this number is very small and the matrix looks ill-conditioned. Not me warning you twice.ITHRESHโ INTEGER. The maximum number of residual computations allowed for refinement. Default is10. For'aggressive'set it to100so convergence can happen using approximate factorizations or factorizations that aren't LU. If the factorization uses a technique other than Gaussian elimination, then the guarantees inERR_BNDS_NORMandERR_BNDS_COMPmay no longer be trustworthy. ๐ญRTHRESHโ DOUBLE PRECISION. Decides when to stop refinement if the error estimate stops decreasing. Refinement stops when the next solution no longer satisfiesnorm(dx_{i+1}) < RTHRESH * norm(dx_i)wherenorm(Z)is the infinity norm ofZ.RTHRESHsatisfies0 < RTHRESH <= 1. Default value is0.5. For'aggressive'set it to0.9to permit convergence on extremely ill-conditioned matrices. See LAWN 165 for more details.DZ_UBโ DOUBLE PRECISION. Decides when to start considering componentwise convergence. Componentwise convergence only gets considered after each component of the solutionYis stable โ and stable here means the relative change in each component is less thanDZ_UB. Default value is0.25, which requires the first bit to be stable. See LAWN 165 for more details.IGNORE_CWISEโ LOGICAL. If.TRUE.then ignore componentwise convergence. Default value is.FALSE..INFOโ INTEGER. The status check bestie:= 0: Successful exit. ๐< 0: ifINFO = -i, theithargument toZPOTRShad an illegal value.
๐ธ Author ๐ธ
Univ. of Tennessee
Univ. of California Berkeley
Univ. of Colorado Denver
NAG Ltd.
๐ double precision function zla_porpvgrw
double precision function zla_porpvgrw (character*1 UPLO, integer NCOLS,
complex*16, dimension( lda, * ) A, integer LDA, complex*16, dimension(
ldaf, * ) AF, integer LDAF, double precision, dimension( * ) WORK)
ZLA_PORPVGRW computes the reciprocal pivot growth factor norm(A)/norm(U) for a symmetric or Hermitian positive-definite matrix. periodt.
Purpose:
ZLA_PORPVGRW computes the reciprocal pivot growth factor norm(A)/norm(U). The 'max absolute element' norm is used. If this is much less than 1, the stability of the LU factorization of the (equilibrated) matrix A could be poor. That also means the solution X, the estimated condition numbers, and the error bounds could be unreliable. ๐ซ
Parameters
UPLOโ CHARACTER*1= 'U': Upper triangle ofAis stored;= 'L': Lower triangle ofAis stored.
NCOLSโ INTEGER. The number of columns of the matrixA.NCOLS >= 0.Aโ COMPLEX*16 array, dimension(LDA,N). On entry, theN-by-NmatrixA.LDAโ INTEGER. The leading dimension of the arrayA.LDA >= max(1,N).AFโ COMPLEX*16 array, dimension(LDAF,N). The triangular factorUorLfrom the Cholesky factorizationA = U**T*UorA = L*L**T, as computed byZPOTRF.LDAFโ INTEGER. The leading dimension of the arrayAF.LDAF >= max(1,N).WORKโ DOUBLE PRECISION array, dimension(2*N).
Author
Univ. of Tennessee
Univ. of California Berkeley
Univ. of Colorado Denver
NAG Ltd.
๐ฆ subroutine zpocon
subroutine zpocon (character UPLO, integer N, complex*16, dimension( lda, *
) A, integer LDA, double precision ANORM, double precision RCOND,
complex*16, dimension( * ) WORK, double precision, dimension( * ) RWORK,
integer INFO)
ZPOCON โจ
Purpose:
ZPOCON estimates the reciprocal of the condition number (in the 1-norm) of a complex Hermitian positive definite matrix using the Cholesky factorization A = U**H*U or A = L*L**H computed by ZPOTRF.
So like, an estimate is obtained for norm(inv(A)), and the reciprocal of the condition number is computed as RCOND = 1 / (ANORM * norm(inv(A))). Periodt. ๐
Parameters โจ
UPLOโ bestie, this is aCHARACTER*1. If it's'U', the upper triangle ofAis stored; if it's'L', the lower triangle ofAis stored. ๐NโNis anINTEGER. It's the order of the matrixA.N >= 0. โจAโAis aCOMPLEX*16array, dimension(LDA,N). It's the triangular factorUorLfrom the Cholesky factorizationA = U**H*UorA = L*L**H, as computed byZPOTRF. ๐LDAโLDAis anINTEGER. It's the leading dimension of the arrayA.LDA >= max(1,N). ๐ฆANORMโANORMisDOUBLE PRECISION. It's the 1-norm (or infinity-norm) of the Hermitian matrixA. ๐ธRCONDโRCONDisDOUBLE PRECISION. It's the reciprocal of the condition number of the matrixA, computed asRCOND = 1/(ANORM * AINVNM), whereAINVNMis an estimate of the 1-norm ofinv(A)computed in this routine. ๐WORKโWORKis aCOMPLEX*16array, dimension(2*N). ๐RWORKโRWORKis aDOUBLE PRECISIONarray, dimension(N). ๐งINFOโINFOis anINTEGER.= 0: successful exit.< 0: ifINFO = -i, the i-th argument had an illegal value. ๐
Author ๐
Univ. of Tennessee
Univ. of California Berkeley
Univ. of Colorado Denver
NAG Ltd.
subroutine zpoequ โจ
subroutine zpoequ (integer N, complex*16, dimension( lda, * ) A, integer
LDA, double precision, dimension( * ) S, double precision SCOND, double
precision AMAX, integer INFO)
ZPOEQU
Purpose:
ZPOEQU computes row and column scalings intended to equilibrate a Hermitian positive definite matrix A and reduce its condition number (with respect to the two-norm). S contains the scale factors, S(i) = 1/sqrt(A(i,i)), chosen so that the scaled matrix B with elements B(i,j) = S(i)*A(i,j)*S(j) has ones on the diagonal. This choice of S puts the condition number of B within a factor N of the smallest possible condition number over all possible diagonal scalings. ๐
Parameters:
NโNis anINTEGER. The order of the matrixA.N >= 0. โจAโAis aCOMPLEX*16array, dimension(LDA,N). TheN-by-NHermitian positive definite matrix whose scaling factors are to be computed. Only the diagonal elements ofAare referenced. ๐LDAโLDAis anINTEGER. The leading dimension of the arrayA.LDA >= max(1,N). ๐ฆSโSis aDOUBLE PRECISIONarray, dimension(N). IfINFO = 0,Scontains the scale factors forA. ๐ธSCONDโSCONDisDOUBLE PRECISION. IfINFO = 0,Scontains the ratio of the smallestS(i)to the largestS(i). IfSCOND >= 0.1andAMAXis neither too large nor too small, it is not worth scaling byS. ๐AMAXโAMAXisDOUBLE PRECISION. Absolute value of largest matrix element. IfAMAXis very close to overflow or very close to underflow, the matrix should be scaled. ๐INFOโINFOis anINTEGER.= 0: successful exit.< 0: ifINFO = -i, the i-th argument had an illegal value.> 0: ifINFO = i, the i-th diagonal element is nonpositive. ๐
Author ๐
Univ. of Tennessee
Univ. of California Berkeley
Univ. of Colorado Denver
NAG Ltd.
subroutine zpoequb ๐
subroutine zpoequb (integer N, complex*16, dimension( lda, * ) A, integer
LDA, double precision, dimension( * ) S, double precision SCOND, double
precision AMAX, integer INFO)
ZPOEQUB
Purpose:
ZPOEQUB computes row and column scalings intended to equilibrate a Hermitian positive definite matrix A and reduce its condition number (with respect to the two-norm). S contains the scale factors, S(i) = 1/sqrt(A(i,i)), chosen so that the scaled matrix B with elements B(i,j) = S(i)*A(i,j)*S(j) has ones on the diagonal. This choice of S puts the condition number of B within a factor N of the smallest possible condition number over all possible diagonal scalings. โจ
This routine differs from ZPOEQU by restricting the scaling factors to a power of the radix. Barring over- and underflow, scaling by these factors introduces no additional rounding errors. However, the scaled diagonal entries are no longer approximately 1 but lie between sqrt(radix) and 1/sqrt(radix). ๐ฆ
Parameters:
NโNis anINTEGER. The order of the matrixA.N >= 0. โจAโAis aCOMPLEX*16array, dimension(LDA,N). TheN-by-NHermitian positive definite matrix whose scaling factors are to be computed. Only the diagonal elements ofAare referenced. ๐LDAโLDAis anINTEGER. The leading dimension of the arrayA.LDA >= max(1,N). ๐ฆSโSis aDOUBLE PRECISIONarray, dimension(N). IfINFO = 0,Scontains the scale factors forA. ๐ธSCONDโSCONDisDOUBLE PRECISION. IfINFO = 0,Scontains the ratio of the smallestS(i)to the largestS(i). IfSCOND >= 0.1andAMAXis neither too large nor too small, it is not worth scaling byS. ๐AMAXโAMAXisDOUBLE PRECISION. Absolute value of largest matrix element. IfAMAXis very close to overflow or very close to underflow, the matrix should be scaled. ๐INFOโINFOis anINTEGER.= 0: successful exit.< 0: ifINFO = -i, the i-th argument had an illegal value.> 0: ifINFO = i, the i-th diagonal element is nonpositive. ๐
Author ๐
Univ. of Tennessee
Univ. of California Berkeley
Univ. of Colorado Denver
NAG Ltd.
subroutine zporfs ๐ฅ
subroutine zporfs (character UPLO, integer N, integer NRHS, complex*16,
dimension( lda, * ) A, integer LDA, complex*16, dimension( ldaf, * ) AF,
integer LDAF, complex*16, dimension( ldb, * ) B, integer LDB,
complex*16, dimension( ldx, * ) X, integer LDX, double precision,
dimension( * ) FERR, double precision, dimension( * ) BERR, complex*16,
dimension( * ) WORK, double precision, dimension( * ) RWORK, integer
INFO)
ZPORFS
Purpose:
ZPORFS improves the computed solution to a system of linear equations when the coefficient matrix is Hermitian positive definite, and provides error bounds and backward error estimates for the solution. ๐
Parameters:
UPLOโUPLOisCHARACTER*1.= 'U': Upper triangle ofAis stored;= 'L': Lower triangle ofAis stored. ๐NโNis anINTEGER. The order of the matrixA.N >= 0. โจNRHSโNRHSis anINTEGER. The number of right hand sides, i.e., the number of columns of the matricesBandX.NRHS >= 0. ๐ฆAโAis aCOMPLEX*16array, dimension(LDA,N). The Hermitian 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โLDAis anINTEGER. The leading dimension of the arrayA.LDA >= max(1,N). ๐AFโAFis aCOMPLEX*16array, dimension(LDAF,N). The triangular factorUorLfrom the Cholesky factorizationA = U**H*UorA = L*L**H, as computed byZPOTRF. ๐LDAFโLDAFis anINTEGER. The leading dimension of the arrayAF.LDAF >= max(1,N). ๐งBโBis aCOMPLEX*16array, dimension(LDB,NRHS). The right hand side matrixB. ๐LDBโLDBis anINTEGER. The leading dimension of the arrayB.LDB >= max(1,N). ๐XโXis aCOMPLEX*16array, dimension(LDX,NRHS). On entry, the solution matrixX, as computed byZPOTRS. On exit, the improved solution matrixX. โญLDXโLDXis anINTEGER. The leading dimension of the arrayX.LDX >= max(1,N). ๐ซFERRโFERRis aDOUBLE PRECISIONarray, 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โBERRis aDOUBLE PRECISIONarray, 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โWORKis aCOMPLEX*16array, dimension(2*N). ๐ฆRWORKโRWORKis aDOUBLE PRECISIONarray, dimension(N). ๐ธINFOโINFOis anINTEGER.= 0: successful exit.< 0: ifINFO = -i, the i-th argument had an illegal value. ๐
Internal Parameters:
ITMAX is the maximum number of steps of iterative refinement. ๐ฅ
Author ๐
Univ. of Tennessee
Univ. of California Berkeley
Univ. of Colorado Denver
NAG Ltd.
zporfsx ๐ซถ
subroutine zporfsx (character UPLO, character EQUED, integer N, integer
NRHS, complex*16, dimension( lda, * ) A, integer LDA, complex*16,
dimension( ldaf, * ) AF, integer LDAF, double precision, dimension( * )
S, 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)
ZPORFSX โจ
Purpose ๐ก
Bestie, listen. ZPORFSX takes your already-computed solution to a linear system and makes it better โ it improves that computed solution when the coefficient matrix is Hermitian positive definite, and it also hands you error bounds and backward error estimates for the solution. Like, it's not just fixing your answer, it's also telling you how much you should trust it. iconic behavior, honestly ๐
So besides the normwise error bound, this routine also gives you the maximum componentwise error bound when it can. If you wanna know the deets on those error bounds, go read the comments for ERR_BNDS_NORM and ERR_BNDS_COMP โ that's where the tea is. ๐ซ
Also! Your original system of linear equations might have been equilibrated before you called this routine โ that's exactly what the EQUED and S arguments are describing below. And in that case, the solution and error bounds you get back are for the original unequilibrated system. So no confusion there, bestie. ๐
And then there's the whole optional-parameters situation: some optional parameters are bundled up in the PARAMS array. These settings determine how the refinement is performed โ but ngl, the defaults are usually perfectly fine. If the defaults are acceptable to you, you can pass NPARAMS = 0, which stops the source code from ever touching the PARAMS argument at all. Efficient. We love. ๐
Parameters ๐
UPLOโUPLO is CHARACTER*1= 'U': Upper triangle ofAis stored;= 'L': Lower triangle ofAis stored.
EQUEDโEQUED is CHARACTER*1
Specifies the form of equilibration that was done to A before calling this routine. You need this so the solution and error bounds get computed correctly โ it's not optional vibes, it's load-bearing.
= 'N': No equilibration= 'Y': Both row and column equilibration, i.e.,Ahas been replaced bydiag(S) * A * diag(S). The right hand sideBhas been changed accordingly.
NโN is INTEGER
The order of the matrix A. N >= 0. โจ
NRHSโNRHS is INTEGER
The number of right hand sides, i.e., the number of columns of the matrices B and X. NRHS >= 0.
AโA is COMPLEX*16 array, dimension (LDA,N)
The Hermitian matrix A. If UPLO = 'U', the leading N-by-N upper triangular part of A contains the upper triangular part of the matrix A, and the strictly lower triangular part of A is not referenced. If UPLO = 'L', the leading N-by-N lower triangular part of A contains the lower triangular part of the matrix A, and the strictly upper triangular part of A is not referenced. (So likeโฆ only give it the half it asked for, bestie. The other half is giving nothing and it will not look at it.) ๐
LDAโLDA is INTEGER
The leading dimension of the array A. LDA >= max(1,N).
AFโAF is COMPLEX*16 array, dimension (LDAF,N)
The triangular factor U or L from the Cholesky factorization A = U**H*U or A = L*L**H, as computed by ZPOTRF. ๐ง
LDAFโLDAF is INTEGER
The leading dimension of the array AF. LDAF >= max(1,N).
SโS is DOUBLE PRECISION array, dimension (N)
The scale factors for A. If EQUED = 'Y', A is multiplied on the left and right by diag(S). S is an input argument if FACT = 'F'; otherwise, S is an output argument. If FACT = 'F' and EQUED = 'Y', each element of S must be positive. If S is output, each element of S is a power of the radix. If S is input, each element of S 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 yeah โ if you're supplying S yourself, keep it powers-of-the-radix. That's the whole trick. Don't freestyle it. ๐
BโB is COMPLEX*16 array, dimension (LDB,NRHS)
The right hand side matrix B. ๐
LDBโLDB is INTEGER
The leading dimension of the array B. LDB >= max(1,N).
XโX is COMPLEX*16 array, dimension (LDX,NRHS)
On entry, the solution matrix X, as computed by ZGETRS. On exit, the improved solution matrix X. Glow-up arc complete. ๐ฆ
LDXโLDX is INTEGER
The leading dimension of the array X. LDX >= max(1,N).
RCONDโRCOND is DOUBLE PRECISION
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. But heads up โ the error may still be small even if this number is very small and the matrix appears ill-conditioned. So don't panic prematurely, ok? ๐ญ
BERRโBERR is DOUBLE PRECISION 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โN_ERR_BNDS is 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โERR_BNDS_NORM is DOUBLE PRECISION 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'Trust/don't trust' boolean. Trust the answer if the reciprocal condition number is less than the thresholdsqrt(n) * dlamch('Epsilon').err = 2'Guaranteed' 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 = 3Reciprocal condition number: Estimated normwise reciprocal condition number. Compared with the thresholdsqrt(n) * dlamch('Epsilon')to determine if the error estimate is 'guaranteed'. 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โERR_BNDS_COMP is DOUBLE PRECISION 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 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'Trust/don't trust' boolean. Trust the answer if the reciprocal condition number is less than the thresholdsqrt(n) * dlamch('Epsilon').err = 2'Guaranteed' 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 = 3Reciprocal condition number: Estimated componentwise reciprocal condition number. Compared with the thresholdsqrt(n) * dlamch('Epsilon')to determine if the error estimate is 'guaranteed'. 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. ๐ (yes, again โ same note, it's got range)
NPARAMSโNPARAMS is INTEGER
Specifies the number of parameters set in PARAMS. If <= 0, the PARAMS array is never referenced and default values are used. Set it and forget it, bestie. ๐
PARAMSโ
*PARAMS</b> is a DOUBLE PRECISION array, dimension NPARAMS. It's giving *algorithm parameters, bestie. Here's the deal: if any entry is < 0.0, that entry gets filled in with the default value for that parameter. Only positions up to NPARAMS are ever accessed, and anything higher-numbered just uses defaults. ๐
PARAMS(LA_LINRX_ITREF_I = 1)โ are we doing iterative refinement or not?- Default:
1.0D+0 = 0.0: no refinement happens, and no error bounds get computed. Zero. Nada. ๐ซฅ= 1.0: use the double-precision refinement algorithm, possibly with doubled-single computations if the compilation environment doesn't supportDOUBLE PRECISION. (other values are reserved for future use ๐)
- Default:
PARAMS(LA_LINRX_ITHRESH_I = 2)โ the max number of residual computations allowed for refinement.- Default:
10 - Aggressive: set it to
100to permit convergence using approximate factorizations or factorizations other than LU. Heads up though: if the factorization uses a technique other than Gaussian elimination, the guarantees inerr_bnds_normanderr_bnds_compmay no longer be trustworthy. Like, at all. ๐ฌ
- Default:
PARAMS(LA_LINRX_CWISE_I = 3)โ flag deciding whether 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 ๐
WORK is COMPLEX*16 array, dimension (2*N)
๐ฆ RWORK ๐ฆ
RWORK is DOUBLE PRECISION array, dimension (2*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. Rude.> 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 sides K with K > J may 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.
๐ Author ๐
Univ. of Tennessee
Univ. of California Berkeley
Univ. of Colorado Denver
NAG Ltd.
๐ subroutine zpotf2 (character UPLO, integer N, complex*16, dimension( lda, * ) A, integer LDA, integer INFO) ๐
ZPOTF2 computes the Cholesky factorization of a symmetric/Hermitian positive definite matrix (unblocked algorithm). It's the lowkey version โ no blocking, just vibes.
โจ Purpose โจ
ZPOTF2 computes the Cholesky factorization of a complex Hermitian positive definite matrix A.
The factorization has the form
A = U**H * U , if UPLO = 'U', or
A = L * L**H, if UPLO = 'L',
where U is an upper triangular matrix and L is lower triangular.
This is the unblocked version of the algorithm, calling Level 2 BLAS. ๐ง
๐ Parameters ๐
UPLOโUPLOisCHARACTER*1. Specifies whether the upper or lower triangular part of the Hermitian matrixAis stored.= 'U': Upper triangular= 'L': Lower triangular
NโNisINTEGER. The order of the matrixA.N >= 0.AโAisCOMPLEX*16array, dimension(LDA,N).- On entry, the Hermitian matrix
A. IfUPLO = 'U', the leading n by n upper triangular part ofAcontains the upper triangular part of the matrixA, and the strictly lower triangular part ofAis not referenced. IfUPLO = 'L', the leading n by n lower triangular part ofAcontains the lower triangular part of the matrixA, and the strictly upper triangular part ofAis not referenced. - On exit, if
INFO = 0, the factorUorLfrom the Cholesky factorizationA = U**H *UorA = L*L**H.
- On entry, the Hermitian matrix
LDAโLDAisINTEGER. The leading dimension of the arrayA.LDA >= max(1,N).INFOโINFOisINTEGER.= 0: successful exit< 0: ifINFO = -k, the k-th argument had an illegal value> 0: ifINFO = k, the leading minor of order k is not positive definite, and the factorization could not be completed. ๐
๐ Author ๐
Univ. of Tennessee
Univ. of California Berkeley
Univ. of Colorado Denver
NAG Ltd.
๐ฆ subroutine zpotrf (character UPLO, integer N, complex*16, dimension( lda, * ) A, integer LDA, integer INFO) ๐ฆ
ZPOTRF โ the moment has arrived.
โจ Purpose โจ
ZPOTRF computes the Cholesky factorization of a complex Hermitian positive definite matrix A.
The factorization has the form
A = U**H * U, if UPLO = 'U', or
A = L * L**H, if UPLO = 'L',
where U is an upper triangular matrix and L is lower triangular.
This is the block version of the algorithm, calling Level 3 BLAS. She's fast. She ate. ๐ฅ
๐ Parameters ๐
UPLOโUPLOisCHARACTER*1.= 'U': Upper triangle ofAis stored;= 'L': Lower triangle ofAis stored.
NโNisINTEGER. The order of the matrixA.N >= 0.AโAisCOMPLEX*16array, dimension(LDA,N).- On entry, the Hermitian matrix
A. IfUPLO = 'U', the leading N-by-N upper triangular part ofAcontains the upper triangular part of the matrixA, and the strictly lower triangular part ofAis not referenced. IfUPLO = 'L', the leading N-by-N lower triangular part ofAcontains the lower triangular part of the matrixA, and the strictly upper triangular part ofAis not referenced. - On exit, if
INFO = 0, the factorUorLfrom the Cholesky factorizationA = U**H *UorA = L*L**H.
- On entry, the Hermitian matrix
LDAโLDAisINTEGER. The leading dimension of the arrayA.LDA >= max(1,N).INFOโINFOisINTEGER.= 0: successful exit< 0: ifINFO = -i, the i-th argument had an illegal value> 0: ifINFO = i, the leading minor of order i is not positive definite, and the factorization could not be completed.
๐ Author ๐
Univ. of Tennessee
Univ. of California Berkeley
Univ. of Colorado Denver
NAG Ltd.
๐ recursive subroutine zpotrf2 (character UPLO, integer N, complex*16, dimension( lda, * ) A, integer LDA, integer INFO) ๐
ZPOTRF2 โ she's recursive, she contains multitudes.
โจ Purpose โจ
ZPOTRF2 computes the Cholesky factorization of a Hermitian positive definite matrix A using the recursive algorithm.
The factorization has the form
A = U**H * U, if UPLO = 'U', or
A = L * L**H, if UPLO = 'L',
where U is an upper triangular matrix and L is lower triangular.
This is the recursive version of the algorithm. It divides the matrix into four submatrices:
[ A11 | A12 ] where A11 is n1 by n1 and A22 is n2 by n2
A = [ -----|----- ] with n1 = n/2
[ A21 | A22 ] n2 = n-n1
The subroutine calls itself to factor A11. Update and scale A21 or A12, update A22 then call itself to factor A22. It's giving main character energy, honestly โ she does the whole thing by calling herself. ๐
๐ Parameters ๐
UPLOโUPLOisCHARACTER*1.= 'U': Upper triangle ofAis stored;= 'L': Lower triangle ofAis stored.
NโNisINTEGER. The order of the matrixA.N >= 0.AโAisCOMPLEX*16array, dimension(LDA,N).- On entry, the Hermitian matrix
A. IfUPLO = 'U', the leading N-by-N upper triangular part ofAcontains the upper triangular part of the matrixA, and the strictly lower triangular part ofAis not referenced. IfUPLO = 'L', the leading N-by-N lower triangular part ofAcontains the lower triangular part of the matrixA, and the strictly upper triangular part ofAis not referenced. - On exit, if
INFO = 0, the factorUorLfrom the Cholesky factorizationA = U**H*UorA = L*L**H.
- On entry, the Hermitian matrix
LDAโLDAisINTEGER. The leading dimension of the arrayA.LDA >= max(1,N).INFOโINFOisINTEGER.= 0: successful exit< 0: ifINFO = -i, the i-th argument had an illegal value> 0: ifINFO = i, the leading minor of order i is not positive definite, and the factorization could not be completed.
๐ Author ๐
Univ. of Tennessee
Univ. of California Berkeley
Univ. of Colorado Denver
NAG Ltd.
๐ subroutine zpotri (character UPLO, integer N, complex*16, dimension( lda, * ) A, integer LDA, integer INFO) ๐
ZPOTRI โ the glow-up from factorized to inverted. โจ
โจ Purpose โจ
ZPOTRI computes the inverse of a complex Hermitian positive definite matrix A using the Cholesky factorization A = U**H*U or A = L*L**H computed by ZPOTRF.
๐ Parameters ๐
UPLOโUPLOisCHARACTER*1.= 'U': Upper triangle ofAis stored;= 'L': Lower triangle ofAis stored.
NโNisINTEGER. The order of the matrixA.N >= 0.Aโ okay bestie, this one is aCOMPLEX*16 array, dimension (LDA,N). On entry, it's the triangular factorUorLfrom the Cholesky factorizationA = U**H*UorA = L*L**H, as computed byZPOTRF. On exit, the upper or lower triangle of the (Hermitian) inverse ofAis literally overwriting the input factorUorL. ๐LDAโLDA is INTEGER. The leading dimension of the arrayA.LDA >= max(1,N). no cap.INFOโINFO is INTEGER.= 0: successful exit โจ< 0: ifINFO = -i, the i-th argument had an illegal value ๐ญ> 0: ifINFO = i, the(i,i)element of the factorUorLis zero, and the inverse could not be computed. ๐
โจ Author โจ
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
โจ subroutine zpotrs โจ
subroutine zpotrs (character UPLO, integer N, integer NRHS, complex*16,
dimension( lda, * ) A, integer LDA, complex*16, dimension( ldb, * ) B,
integer LDB, integer INFO)
ZPOTRS
Purpose ๐ฏ
ZPOTRS solves a system of linear equations A*X = B with a Hermitian positive definite matrix A using the Cholesky factorization A = U**H * U or A = L * L**H computed by ZPOTRF. it's giving linear algebra realness.
Parameters ๐ง
UPLOโUPLO is CHARACTER*1.= '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 matrixB.NRHS >= 0.AโA is COMPLEX*16 array, dimension (LDA,N). The triangular factorUorLfrom the Cholesky factorizationA = U**H * UorA = L * L**H, as computed byZPOTRF.LDAโLDA is INTEGER. The leading dimension of the arrayA.LDA >= max(1,N).BโB is COMPLEX*16 array, dimension (LDB,NRHS). On entry, the right hand side matrixB. On exit, the solution matrixX.LDBโLDB is INTEGER. The leading dimension of the arrayB.LDB >= max(1,N).INFOโINFO is INTEGER.= 0: successful exit โจ< 0: ifINFO = -i, the i-th argument had an illegal value ๐ญ
โจ Author โจ
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
โจ Author โจ (Doxygen's version)
Generated automatically by Doxygen for LAPACK from the source code.
This page is complex16POcomputational(3), version 3.11.0, dated Sun Nov 27 2022. periodt. ๐
โจ๐ซถ
๐ฆ where this page comes from
- debian bookworm: liblapack-doc 3.11.0-2 ยท BSD-3-Clause
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms