Package com.imsl.math

Interface GenMinRes.Preconditioner

All Superinterfaces:
GenMinRes.Function
All Known Implementing Classes:
GenMinResEx4, GenMinResEx6
Enclosing class:
GenMinRes

public static interface GenMinRes.Preconditioner extends GenMinRes.Function
Public interface for the user supplied function to GenMinRes used for preconditioning.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    preconditioner(double[] r, double[] z)
    Used to compute \(z = M^{-1}r \) where M is the preconditioning matrix and r and z are arrays of length n, the order of matrix M.

    Methods inherited from interface com.imsl.math.GenMinRes.Function

    amultp
  • Method Details

    • preconditioner

      void preconditioner(double[] r, double[] z)
      Used to compute \(z = M^{-1}r \) where M is the preconditioning matrix and r and z are arrays of length n, the order of matrix M.
      Parameters:
      r - an input double array of length n generated during the implementation of the solve method.
      z - an output double array of length n.