<HTML>
<HEAD>
<title>Refining the Solution and Estimating Its Error</title>
</HEAD>
<body bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#660099">
<script language="JavaScript">
<!--
if (
    parent.document.location==document.location
    && (""+document.location).toLowerCase().indexOf(".chm")==-1
    && (""+document.location).toLowerCase().indexOf("~hh")==-1
   )
 document.writeln ('<h3><a href="index.htm">Table of Contents</a></h3>');
//-->
</script>

<a name="top"></a>
<p>
<font face="arial,helvetica,headtxt">
<h3>
Refining the Solution and Estimating Its Error
</h3>
</font>
<p>

<font face="times new roman,times,bodytxt">

<p><A NAME="gerfs"></A>

<B>?gerfs</B>
refines the solution of a system of linear equations with a general matrix and estimates its error.<BR>
<code><font face="Courier New,Courier,codetxt" color="#7f0000">
call sgerfs (<i>trans, n, nrhs, a, lda, af, ldaf, ipiv, b, ldb, x, ldx, ferr, berr, work, iwork, info</i>)<BR>
call dgerfs (<i>trans, n, nrhs, a, lda, af, ldaf, ipiv, b, ldb, x, ldx, ferr, berr, work, iwork, info</i>)<BR>
call cgerfs (<i>trans, n, nrhs, a, lda, af, ldaf, ipiv, b, ldb, x, ldx, ferr, berr, work, rwork, info</i>)<BR>
call zgerfs (<i>trans, n, nrhs, a, lda, af, ldaf, ipiv, b, ldb, x, ldx, ferr, berr, work, rwork, info</i>)
</font></code>

<p><A NAME="gbrfs"></A>

<B>?gbrfs</B>
refines the solution of a system of linear
equations with a general band matrix
and estimates its error.<BR>
<code><font face="Courier New,Courier,codetxt" color="#7f0000">
call sgbrfs (<i>trans, n, kl, ku, nrhs, ab, ldab, afb, ldafb, ipiv, b, ldb, x, ldx, ferr, berr, work, iwork, info</i>)<BR>
call dgbrfs (<i>trans, n, kl, ku, nrhs, ab, ldab, afb, ldafb, ipiv, b, ldb, x, ldx, ferr, berr, work, iwork, info</i>)<BR>
call cgbrfs (<i>trans, n, kl, ku, nrhs, ab, ldab, afb, ldafb, ipiv, b, ldb, x, ldx, ferr, berr, work, rwork, info</i>)<BR>
call zgbrfs (<i>trans, n, kl, ku, nrhs, ab, ldab, afb, ldafb, ipiv, b, ldb, x, ldx, ferr, berr, work, rwork, info</i>)
</font></code>

<p><A NAME="gtrfs"></A>

<B>?gtrfs</B>
refines the solution of a system of linear equations with a tridiagonal matrix and estimates its error.<BR>
<code><font face="Courier New,Courier,codetxt" color="#7f0000">
call sgtrfs (<i>trans, n, nrhs, dl, d, du, dlf, df, duf, du2, ipiv, b, ldb, x, ldx, ferr, berr, work, iwork, info</i>)<BR>
call dgtrfs (<i>trans, n, nrhs, dl, d, du, dlf, df, duf, du2, ipiv, b, ldb, x, ldx, ferr, berr, work, iwork, info</i>)<BR>
call cgtrfs (<i>trans, n, nrhs, dl, d, du, dlf, df, duf, du2, ipiv, b, ldb, x, ldx, ferr, berr, work, rwork, info</i>)<BR>
call zgtrfs (<i>trans, n, nrhs, dl, d, du, dlf, df, duf, du2, ipiv, b, ldb, x, ldx, ferr, berr, work, rwork, info</i>)
</font></code>

<p><A NAME="porfs"></A>

<B>?porfs</B>
refines the solution of a system of linear
equations with a symmetric (Hermitian)
positive-definite matrix and estimates its
error.<BR>
<code><font face="Courier New,Courier,codetxt" color="#7f0000">
call sporfs (<i>uplo, n, nrhs, a, lda, af, ldaf, b, ldb, x, ldx, ferr, berr, work, iwork, info</i>)<BR>
call dporfs (<i>uplo, n, nrhs, a, lda, af, ldaf, b, ldb, x, ldx, ferr, berr, work, iwork, info</i>)<BR>
call cporfs (<i>uplo, n, nrhs, a, lda, af, ldaf, b, ldb, x, ldx, ferr, berr, work, rwork, info</i>)<BR>
call zporfs (<i>uplo, n, nrhs, a, lda, af, ldaf, b, ldb, x, ldx, ferr, berr, work, rwork, info</i>)
</font></code>

<p><A NAME="pprfs"></A>

<B>?pprfs</B>
refines the solution of a system of linear
equations with a packed symmetric
(Hermitian) positive-definite matrix and
estimates its error.<BR>
<code><font face="Courier New,Courier,codetxt" color="#7f0000">
call spprfs (<i>uplo, n, nrhs, ap, afp, b, ldb, x, ldx, ferr, berr, work, iwork, info</i>)<BR>
call dpprfs (<i>uplo, n, nrhs, ap, afp, b, ldb, x, ldx, ferr, berr, work, iwork, info</i>)<BR>
call cpprfs (<i>uplo, n, nrhs, ap, afp, b, ldb, x, ldx, ferr, berr, work, rwork, info</i>)<BR>
call zpprfs (<i>uplo, n, nrhs, ap, afp, b, ldb, x, ldx, ferr, berr, work, rwork, info</i>)
</font></code>

<p><A NAME="pbrfs"></A>

<B>?pbrfs</B>
refines the solution of a system of linear
equations with a band symmetric
(Hermitian) positive-definite matrix and
estimates its error.<BR>
<code><font face="Courier New,Courier,codetxt" color="#7f0000">
call spbrfs (<i>uplo, n, kd, nrhs, ab, ldab, afb, ldafb, b, ldb, x, ldx, ferr, berr, work, iwork, info</i>)<BR>
call dpbrfs (<i>uplo, n, kd, nrhs, ab, ldab, afb, ldafb, b, ldb, x, ldx, ferr, berr, work, iwork, info</i>)<BR>
call cpbrfs (<i>uplo, n, kd, nrhs, ab, ldab, afb, ldafb, b, ldb, x, ldx, ferr, berr, work, rwork, info</i>)<BR>
call zpbrfs (<i>uplo, n, kd, nrhs, ab, ldab, afb, ldafb, b, ldb, x, ldx, ferr, berr, work, rwork, info</i>)
</font></code>

<p><A NAME="ptrfs"></A>

<B>?ptrfs</B>
refines the solution of a system of linear
equations with a symmetric (Hermitian) positive-definite tridiagonal matrix and estimates its error.<BR>
<code><font face="Courier New,Courier,codetxt" color="#7f0000">
call sptrfs (<i>n, nrhs, d, e, df, ef, b, ldb, x, ldx, ferr, berr, work, info</i>)<BR>
call dptrfs (<i>n, nrhs, d, e, df, ef, b, ldb, x, ldx, ferr, berr, work, info</i>)<BR>
call cptrfs (<i>uplo, n, nrhs, d, e, df, ef, b, ldb, x, ldx, ferr, berr, work, rwork, info</i>)<BR>
call zptrfs (<i>uplo, n, nrhs, d, e, df, ef, b, ldb, x, ldx, ferr, berr, work, rwork, info</i>)
</font></code>

<p><A NAME="syrfs"></A>

<B>?syrfs</B>
refines the solution of a system of linear
equations with a symmetric matrix and
estimates its error.<BR>
<code><font face="Courier New,Courier,codetxt" color="#7f0000">
call ssyrfs (<i>uplo, n, nrhs, a, lda, af, ldaf, ipiv, b, ldb, x, ldx, ferr, berr, work, iwork, info</i>)<BR>
call dsyrfs (<i>uplo, n, nrhs, a, lda, af, ldaf, ipiv, b, ldb, x, ldx, ferr, berr, work, iwork, info</i>)<BR>
call csyrfs (<i>uplo, n, nrhs, a, lda, af, ldaf, ipiv, b, ldb, x, ldx, ferr, berr, work, rwork, info</i>)<BR>
call zsyrfs (<i>uplo, n, nrhs, a, lda, af, ldaf, ipiv, b, ldb, x, ldx, ferr, berr, work, rwork, info</i>)
</font></code>

<p><A NAME="herfs"></A>

<B>?herfs</B>
refines the solution of a system of linear equations with a complex Hermitian matrix and estimates its error.<BR>
<code><font face="Courier New,Courier,codetxt" color="#7f0000">
call cherfs (<i>uplo, n, nrhs, a, lda, af, ldaf, ipiv, b, ldb, x, ldx, ferr, berr, work, rwork, info</i>)<BR>
call zherfs (<i>uplo, n, nrhs, a, lda, af, ldaf, ipiv, b, ldb, x, ldx, ferr, berr, work, rwork, info</i>)
</font></code>

<p><A NAME="sprfs"></A>

<B>?sprfs</B>
refines the solution of a system of linear
equations with a packed symmetric
matrix and estimates the solution error.<BR>
<code><font face="Courier New,Courier,codetxt" color="#7f0000">
call ssprfs (<i>uplo, n, nrhs, ap, afp, ipiv, b, ldb, x, ldx, ferr, berr, work, iwork, info</i>)<BR>
call dsprfs (<i>uplo, n, nrhs, ap, afp, ipiv, b, ldb, x, ldx, ferr, berr, work, iwork, info</i>)<BR>
call csprfs (<i>uplo, n, nrhs, ap, afp, ipiv, b, ldb, x, ldx, ferr, berr, work, rwork, info</i>)<BR>
call zsprfs (<i>uplo, n, nrhs, ap, afp, ipiv, b, ldb, x, ldx, ferr, berr, work, rwork, info</i>)
</font></code>

<p><A NAME="hprfs"></A>

<B>?hprfs</B>
refines the solution of a system of linear
equations with a packed complex Hermitian
matrix and estimates the solution error.<BR>
<code><font face="Courier New,Courier,codetxt" color="#7f0000">
call chprfs (<i>uplo, n, nrhs, ap, afp, ipiv, b, ldb, x, ldx, ferr, berr, work, rwork, info</i>)<BR>
call zhprfs (<i>uplo, n, nrhs, ap, afp, ipiv, b, ldb, x, ldx, ferr, berr, work, rwork, info</i>) </font></code>

<p><A NAME="trrfs"></A>

<B>?trrfs</B>
estimates the error in the solution of
a system of linear equations with a
triangular matrix.<BR>
<code><font face="Courier New,Courier,codetxt" color="#7f0000">
call strrfs (<i>uplo,  trans, diag, n, nrhs, a, lda, b, ldb, x, ldx, ferr, berr, work, iwork, info</i>)<BR>
call dtrrfs (<i>uplo,  trans, diag, n, nrhs, a, lda, b, ldb, x, ldx, ferr, berr, work, iwork, info</i>)<BR>
call ctrrfs (<i>uplo,  trans, diag, n, nrhs, a, lda, b, ldb, x, ldx, ferr, berr, work, rwork, info</i>)<BR>
call ztrrfs (<i>uplo,  trans, diag, n, nrhs, a, lda, b, ldb, x, ldx, ferr, berr, work, rwork, info</i>)
</font></code>

<p><A NAME="tprfs"></A>

<B>?tprfs</B>
estimates the error in the solution of
a system of linear equations with a
packed triangular matrix.<BR>
<code><font face="Courier New,Courier,codetxt" color="#7f0000">
call stprfs (<i>uplo, trans, diag, n, nrhs, ap, b, ldb, x, ldx, ferr, berr, work, iwork, info</i>)<BR>
call dtprfs (<i>uplo, trans, diag, n, nrhs, ap, b, ldb, x, ldx, ferr, berr, work, iwork, info</i>)<BR>
call ctprfs (<i>uplo, trans, diag, n, nrhs, ap, b, ldb, x, ldx, ferr, berr, work, rwork, info</i>)<BR>
call ztprfs (<i>uplo, trans, diag, n, nrhs, ap, b, ldb, x, ldx, ferr, berr, work, rwork, info</i>)
</font></code>

<p><A NAME="tbrfs"></A>

<B>?tbrfs</B>
estimates the error in the solution of
a system of linear equations with a
triangular band matrix.<BR>
<code><font face="Courier New,Courier,codetxt" color="#7f0000">
call stbrfs (<i>uplo, trans, diag, n, kd, nrhs, ab, ldab, b, ldb, x, ldx, ferr, berr, work, iwork, info</i>)<BR>
call dtbrfs (<i>uplo, trans, diag, n, kd, nrhs, ab, ldab, b, ldb, x, ldx, ferr, berr, work, iwork, info</i>)<BR>
call ctbrfs (<i>uplo, trans, diag, n, kd, nrhs, ab, ldab, b, ldb, x, ldx, ferr, berr, work, rwork, info</i>)<BR>
call ztbrfs (<i>uplo, trans, diag, n, kd, nrhs, ab, ldab, b, ldb, x, ldx, ferr, berr, work, rwork, info</i>) </font></code>

<!--Page content ends here; don't delete this comment.-->
</font>

<p>
<font size=2>
<font face="arial,helvetica,runtxt">
* <A HREF="legal_new.htm"><i>Legal Information</i></A>
&#169; 1999, 2002-2003, Intel Corporation
</font>
</font>

</BODY>
</HTML>