Package com.imsl.math

Interface BoundedLeastSquares.Function

Enclosing class:
BoundedLeastSquares

public static interface BoundedLeastSquares.Function
Public interface for the user-supplied function to evaluate the function that defines the least-squares problem.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    compute(double[] x, double[] f)
    Public interface for the user-supplied function to evaluate the function that defines the least-squares problem.
  • Method Details

    • compute

      void compute(double[] x, double[] f)
      Public interface for the user-supplied function to evaluate the function that defines the least-squares problem.
      Parameters:
      x - a double array containing the point at which the function is to evaluated. x.length = nVariables
      f - a double array which contains the function values at point x. f.length = mFunctions