Interface IInitialGuess

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface IInitialGuess
Provides an initial parameter guess for a curve fitter. Implementations should be fast and side-effect free.
  • Method Summary

    Modifier and Type
    Method
    Description
    double[]
    guess(double[] x, double[] y, double[] weights)
    Compute an initial parameter guess.
  • Method Details

    • guess

      double[] guess(double[] x, double[] y, double[] weights)
      Compute an initial parameter guess.
      Parameters:
      x - x data
      y - y data
      weights - optional weights (may be null)
      Returns:
      initial parameters (model-specific ordering/length)