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 Type
    Method
    Description
    double
    innerproduct(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 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.