org.apache.commons.math3.fitting.leastsquares

## Interface LeastSquaresOptimizer

- All Known Implementing Classes:
    GaussNewtonOptimizer, LevenbergMarquardtOptimizer

      public interface LeastSquaresOptimizer

  An algorithm that can be applied to a non-linear least squares problem.
  Since:
    3.3
  Version:
    $Id: LeastSquaresOptimizer.java 1569362 2014-02-18 14:33:49Z luc $

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Interface and Description
    --- | ---
    `static interface` | `LeastSquaresOptimizer.Optimum` The optimum found by the optimizer.

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `LeastSquaresOptimizer.Optimum` | `optimize(LeastSquaresProblem leastSquaresProblem)` Solve the non-linear least squares problem.

- - ### Method Detail

    - #### optimize

          LeastSquaresOptimizer.Optimum optimize(LeastSquaresProblem leastSquaresProblem)

      Solve the non-linear least squares problem.
      Parameters:
        `leastSquaresProblem` - the problem definition, including model function and convergence criteria.
      Returns:
        The optimum.

Copyright © 2003–2014 The Apache Software Foundation. All rights reserved.