Class QMR

All Implemented Interfaces:
IterativeSolver

public class QMR extends AbstractIterativeSolver
Quasi-Minimal Residual method. QMR solves the unsymmetric linear system Ax = b using the Quasi-Minimal Residual method. QMR uses two preconditioners, and by default these are the same preconditioner.
  • Constructor Details

    • QMR

      public QMR(Vector template)
      Constructor for QMR. Uses the given vector as template for creating scratch vectors. Typically, the solution or the right hand side vector can be passed, and the template is not modified
      Parameters:
      template - Vector to use as template for the work vectors needed in the solution process
    • QMR

      public QMR(Vector template, Preconditioner M1, Preconditioner M2)
      Constructor for QMR. Uses the given vector as template for creating scratch vectors. Typically, the solution or the right hand side vector can be passed, and the template is not modified. Allows setting different right and left preconditioners
      Parameters:
      template - Vector to use as template for the work vectors needed in the solution process
      M1 - Left preconditioner
      M2 - Right preconditioner
  • Method Details