f07aef
f07aef
© Numerical Algorithms Group, 2002.
Purpose
F07AEF Solution of real system of linear equations, multiple right-hand
sides, matrix already factorized by F07ADF (SGETRS/DGETRS)
Synopsis
[b,info] = f07aef(a,ipiv,b<,trans>)
Description
T
To solve a real system of linear equations AX=B or A X=B, this
routine must be preceded by a call to F07ADF which computes the
LU factorization of A as A=PLU. The solution is computed by
forward and backward substitution.
If TRANS = 'N', the solution is computed by solving PLY=B and
then UX=Y.
T
If TRANS = 'T' or 'C', the solution is computed by solving U Y=B
T T
and then L P X=Y.
Parameters
f07aef
Required Input Arguments:
a (:,:) real
ipiv (:) integer
b (:,:) real
Optional Input Arguments: <Default>
trans (1) string 'n'
Output Arguments:
b (:,:) real
info integer