JMSLTM Numerical Library 5.0.1

com.imsl.math
Interface ConjugateGradient.Function

All Known Subinterfaces:
ConjugateGradient.Preconditioner
Enclosing class:
ConjugateGradient

public static interface ConjugateGradient.Function

Public interface for the user supplied function to ConjugateGradient.


Method Summary
 void amultp(double[] p, double[] z)
          A user-supplied function which computes z=Ap.
 

Method Detail

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.

JMSLTM Numerical Library 5.0.1

Copyright © 1970-2008 Visual Numerics, Inc.
Built July 8 2008.