naginterfaces.library.lapacklin.dgetrs¶
- naginterfaces.library.lapacklin.dgetrs(trans, a, ipiv, b)[source]¶
dgetrs
solves a real system of linear equations with multiple right-hand sides,where has been factorized by
dgetrf()
.For full information please refer to the NAG Library document for f07ae
https://support.nag.com/numeric/nl/nagdoc_30.3/flhtml/f07/f07aef.html
- Parameters
- Returns
- bfloat, ndarray, shape
The solution matrix .
- Raises
- NagValueError
- (errno )
On entry, error in parameter .
Constraint: , or .
- (errno )
On entry, error in parameter .
Constraint: .
- (errno )
On entry, error in parameter .
Constraint: .
- Notes
dgetrs
is used to solve a real system of linear equations or , the function must be preceded by a call todgetrf()
which computes the factorization of as . The solution is computed by forward and backward substitution.If , the solution is computed by solving and then .
If or , the solution is computed by solving and then .
- References
Golub, G H and Van Loan, C F, 1996, Matrix Computations, (3rd Edition), Johns Hopkins University Press, Baltimore