JMSLTM Numerical Library 6.0

com.imsl.math
Interface GenMinRes.VectorProducts

All Known Subinterfaces:
GenMinRes.Norm
Enclosing class:
GenMinRes

public static interface GenMinRes.VectorProducts

Public interface for the user supplied function to the GenMinRes object used for the inner product when the Gram-Schmidt implementation is used.


Method Summary
 double innerproduct(double[] x, double[] y)
          Used to compute the inner product of 2 vectors for the Gram-Schmidt implementation.
 

Method Detail

innerproduct

double innerproduct(double[] x,
                    double[] y)
Used to compute the inner product of 2 vectors for the Gram-Schmidt implementation. If this function is not implemented, the dot product is used for the inner product.

Parameters:
x - first input double vector which is to take part in the inner product.
y - second input double vector which is to take part in the inner product.
Returns:
a double, the value of the inner product of x and y.

JMSLTM Numerical Library 6.0

Copyright © 1970-2009 Visual Numerics, Inc.
Built September 1 2009.