Package com.imsl.math

Interface GenMinRes.Norm

All Superinterfaces:
GenMinRes.VectorProducts
All Known Implementing Classes:
GenMinResEx2
Enclosing class:
GenMinRes

public static interface GenMinRes.Norm extends GenMinRes.VectorProducts
Public interface for the user supplied function to the GenMinRes object used for the norm \( \Vert X \Vert \) when the Gram-Schmidt implementation is used.
  • Method Summary

    Modifier and Type
    Method
    Description
    double
    norm(double[] x)
    Used to compute the norm \( \Vert X \Vert \) in the Gram-Schmidt implementation.

    Methods inherited from interface com.imsl.math.GenMinRes.VectorProducts

    innerproduct
  • Method Details

    • norm

      double norm(double[] x)
      Used to compute the norm \( \Vert X \Vert \) in the Gram-Schmidt implementation. If this function is not implemented, the \( L_2 \) norm is used.
      Parameters:
      x - input double vector for which the norm will be computed.
      Returns:
      a double, the value of the norm of x.