- naginterfaces.library.linsys.real_sparse_fac_solve(a, comm, rhs, mtype)¶
real_sparse_fac_solvecalculates the approximate solution of a set of real sparse linear equations with a single right-hand side, or , where has been factorized by
For full information please refer to the NAG Library document for f04ax
- afloat, array-like, shape
- commdict, communication object
This argument must have been initialized by a prior call to
- rhsfloat, array-like, shape
The right-hand side vector .
specifies the task to be performed.
- (errno )
On entry, .
No equivalent traditional C interface for this routine exists in the NAG Library.
To solve a system of real linear equations or , where is a general sparse matrix, must first be factorized by
real_sparse_fac_solvethen computes by block forward or backward substitution using simple forward and backward substitution within each diagonal block.
The method is fully described in Duff (1977).
Duff, I S, 1977, MA28 – a set of Fortran subroutines for sparse unsymmetric linear equations, AERE Report R8730, HMSO