Generate an approximate solution to
using the Generalized Residual Method.
double array which defines the right-hand side of the linear system. A double array containing the solution of the linear system.
| Exception Type | Condition |
|---|---|
| ArgumentException | is thrown if the length of b is not consistent with n. |
GenMinRes Class | Imsl.Math Namespace