y bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#660099">

Solving Systems of Linear Equations

?getrs solves a system of linear equations with an LU-factored square matrix, with multiple right-hand sides.
Fortran 77:
call sgetrs(trans, n, nrhs, a, lda, ipiv, b, ldb, info)
call dgetrs(trans, n, nrhs, a, lda, ipiv, b, ldb, info)
call cgetrs(trans, n, nrhs, a, lda, ipiv, b, ldb, info)
call zgetrs(trans, n, nrhs, a, lda, ipiv, b, ldb, info)
Fortran 95:
call getrs(a, ipiv, b [,trans] [,info])

?gbtrs solves a system of linear equations with an LU-factored band matrix, with multiple right-hand sides.
Fortran 77:
call sgbtrs(trans, n, kl, ku, nrhs, ab, ldab, ipiv, b, ldb, info)
call dgbtrs(trans, n, kl, ku, nrhs, ab, ldab, ipiv, b, ldb, info)
call cgbtrs(trans, n, kl, ku, nrhs, ab, ldab, ipiv, b, ldb, info)
call zgbtrs(trans, n, kl, ku, nrhs, ab, ldab, ipiv, b, ldb, info)
Fortran 95:
call gbtrs(a, b, ipiv [,kl] [,trans] [,info])

?gttrs solves a system of linear equations with a tridiagonal matrix using the LU factorization computed by ?gttrf.
Fortran 77:
call sgttrs(trans, n, nrhs, dl, d, du, du2, ipiv, b, ldb, info)
call dgttrs(trans, n, nrhs, dl, d, du, du2, ipiv, b, ldb, info)
call cgttrs(trans, n, nrhs, dl, d, du, du2, ipiv, b, ldb, info)
call zgttrs(trans, n, nrhs, dl, d, du, du2, ipiv, b, ldb, info)
Fortran 95:
call gttrs(dl, d, du, du2, b, ipiv [,trans] [,info])

?potrs solves a system of linear equations with a Cholesky-factored symmetric (Hermitian) positive-definite matrix.
Fortran 77:
call spotrs(uplo, n, nrhs, a, lda, b, ldb, info)
call dpotrs(uplo, n, nrhs, a, lda, b, ldb, info)
call cpotrs(uplo, n, nrhs, a, lda, b, ldb, info)
call zpotrs(uplo, n, nrhs, a, lda, b, ldb, info)
Fortran 95:
call potrs(a, b [,uplo] [,info])

?pptrs solves a system of linear equations with a packed Cholesky-factored symmetric (Hermitian) positive-definite matrix.
Fortran 77:
call spptrs(uplo, n, nrhs, ap, b, ldb, info)
call dpptrs(uplo, n, nrhs, ap, b, ldb, info)
call cpptrs(uplo, n, nrhs, ap, b, ldb, info)
call zpptrs(uplo, n, nrhs, ap, b, ldb, info)
Fortran 95:
call pptrs(a, b [,uplo] [,info])

?pbtrs solves a system of linear equations with a Cholesky-factored symmetric (Hermitian) positive-definite band matrix.
Fortran 77:
call spbtrs(uplo, n, kd, nrhs, ab, ldab, b, ldb, info)
call dpbtrs(uplo, n, kd, nrhs, ab, ldab, b, ldb, info)
call cpbtrs(uplo, n, kd, nrhs, ab, ldab, b, ldb, info)
call zpbtrs(uplo, n, kd, nrhs, ab, ldab, b, ldb, info)
Fortran 95:
call pbtrs(a, b [,uplo] [,info])

?pttrs solves a system of linear equations with a symmetric (Hermitian) positive-definite tridiagonal matrix using the factorization computed by ?pttrf.
Fortran 77:
call spttrs(n, nrhs, d, e, b, ldb, info)
call dpttrs(n, nrhs, d, e, b, ldb, info)
call cpttrs(uplo, n, nrhs, d, e, b, ldb, info)
call zpttrs(uplo, n, nrhs, d, e, b, ldb, info)
Fortran 95:
call pttrs(d, e, b [,info])
call pttrs(d, e, b [,uplo] [,info])

?sytrs solves a system of linear equations with a UDU- or LDL-factored symmetric matrix.
Fortran 77:
call ssytrs(uplo, n, nrhs, a, lda, ipiv, b, ldb, info)
call dsytrs(uplo, n, nrhs, a, lda, ipiv, b, ldb, info)
call csytrs(uplo, n, nrhs, a, lda, ipiv, b, ldb, info)
call zsytrs(uplo, n, nrhs, a, lda, ipiv, b, ldb, info)
Fortran 95:
call sytrs(a, b, ipiv [,uplo] [,info])

?hetrs solves a system of linear equations with a UDU- or LDL-factored Hermitian matrix.
Fortran 77:
call chetrs(uplo, n, nrhs, a, lda, ipiv, b, ldb, info)
call zhetrs(uplo, n, nrhs, a, lda, ipiv, b, ldb, info)
Fortran 95:
call hetrs(a, b, ipiv [,uplo] [,info])

?sptrs solves a system of linear equations with a UDU- or LDL-factored symmetric matrix using packed storage.
Fortran 77:
call ssptrs(uplo, n, nrhs, ap, ipiv, b, ldb, info)
call dsptrs(uplo, n, nrhs, ap, ipiv, b, ldb, info)
call csptrs(uplo, n, nrhs, ap, ipiv, b, ldb, info)
call zsptrs(uplo, n, nrhs, ap, ipiv, b, ldb, info)
Fortran 95:
call sptrs(a, b, ipiv [,uplo] [,info])

?hptrs solves a system of linear equations with a UDU- or LDL-factored Hermitian matrix using packed storage.
Fortran 77:
call chptrs(uplo, n, nrhs, ap, ipiv, b, ldb, info)
call zhptrs(uplo, n, nrhs, ap, ipiv, b, ldb, info)
Fortran 95:
call hptrs(a, b, ipiv [,uplo] [,info])

?trtrs solves a system of linear equations with a triangular matrix, with multiple right-hand sides.
Fortran 77:
call strtrs(uplo, trans, diag, n, nrhs, a, lda, b, ldb, info)
call dtrtrs(uplo, trans, diag, n, nrhs, a, lda, b, ldb, info)
call ctrtrs(uplo, trans, diag, n, nrhs, a, lda, b, ldb, info)
call ztrtrs(uplo, trans, diag, n, nrhs, a, lda, b, ldb, info)
Fortran 95:
call trtrs(a, b [,uplo] [,trans] [,diag] [,info])

?tptrs solves a system of linear equations with a packed triangular matrix, with multiple right-hand sides.
Fortran 77:
call stptrs(uplo, trans, diag, n, nrhs, ap, b, ldb, info)
call dtptrs(uplo, trans, diag, n, nrhs, ap, b, ldb, info)
call ctptrs(uplo, trans, diag, n, nrhs, ap, b, ldb, info)
call ztptrs(uplo, trans, diag, n, nrhs, ap, b, ldb, info)
Fortran 95:
call tptrs(a, b [,uplo] [,trans] [,diag] [,info])

?tbtrs solves a system of linear equations with a band triangular matrix, with multiple right-hand sides.
Fortran 77:
call stbtrs(uplo, trans, diag, n, kd, nrhs, ab, ldab, b, ldb, info)
call dtbtrs(uplo, trans, diag, n, kd, nrhs, ab, ldab, b, ldb, info)
call ctbtrs(uplo, trans, diag, n, kd, nrhs, ab, ldab, b, ldb, info)
call ztbtrs(uplo, trans, diag, n, kd, nrhs, ab, ldab, b, ldb, info)
Fortran 95:
call tbtrs(a, b [,uplo] [,trans] [,diag] [,info])

* Legal Information © 1999, 2002-2006, Intel Corporation