Package com.imsl.math

Interface ConjugateGradient.Function

All Known Subinterfaces:
ConjugateGradient.Preconditioner
All Known Implementing Classes:
ConjugateGradientEx1, ConjugateGradientEx2
Enclosing class:
ConjugateGradient

public static interface ConjugateGradient.Function
Public interface for the user supplied function to ConjugateGradient.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    amultp(double[] p, double[] z)
    A user-supplied function which computes z=Ap.
  • Method Details

    • amultp

      void amultp(double[] p, double[] z)
      A user-supplied function which computes z=Ap.
      Parameters:
      p - an input double vector of length dimension of A.
      z - an output double vector containing the matrix-vector product Ap.