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

Replace class "LegendreGaussIntegrator" with "IterativeLegendreGaussIntegrator" class

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.0
    • Labels:

      Description

      The "LegendreGaussIntegrator" class (in package "o.a.c.m.analysis.integration") has a misleading name. Internally, it uses the Legendre-Gauss quadrature rule on sub-intervals of the integration range but, additionally, it performs an iterative procedure to automatically determine the number of sub-intervals over which the rule will be successively applied.

      The strict Gauss-Legendre quadrature scheme has now been implemented (cf. MATH-797) in package "o.a.c.m.analysis.integration.gauss".

      I thus propose to:

      1. Deprecate "LegendreGaussIntegrator" in 3.1.
      2. Create a new "IterativeLegendreGaussIntegrator" class that will perform the same procedure as "LegendreGaussIntegrator" but will internally use the classes in package "o.a.c.m.analysis.integration.gauss" to perform the Gauss-Legendre quadrature part.
      3. Remove "LegendreGaussIntegrator" in 4.0.

        Attachments

          Activity

            People

            • Assignee:
              erans Gilles
              Reporter:
              erans Gilles
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: