Package com.imsl.math
Interface GenMinRes.VectorProducts
- All Known Subinterfaces:
GenMinRes.Norm
- All Known Implementing Classes:
GenMinResEx2
- 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
Modifier and TypeMethodDescriptiondoubleinnerproduct(double[] x, double[] y) Used to compute the inner product of 2 vectors for the Gram-Schmidt implementation.
-
Method Details
-
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 inputdoublevector which is to take part in the inner product.y- second inputdoublevector which is to take part in the inner product.- Returns:
- a
double, the value of the inner product ofxandy.
-