Uploaded image for project: 'Commons Math'
  1. Commons Math
  2. MATH-514

Replace the "ParametricGaussianFunction" class

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 3.0
    • None

    Description

      The "ParametricGaussianFunction" is defined in package "optimization.fitting" whereas it is not specific to the fitting concept. It would be more logical to have that functionality provided as an inner class of the "Gaussian" class (in package "analysis.function").

      Moreover, no unit test in "ParametricGaussianFunctionTest" actually tests the code of the "value" and "gradient" methods, while tests in that class duplicate some of the tests in "GaussianFitterTest" (thus testing the fitting code instead of the function).

      Attachments

        Activity

          People

            erans Gilles Sadowski
            erans Gilles Sadowski
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: