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

Add clamped spline interpolation

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 4.X
    • None
    • None
    • Patch
    • Medium
    • desired structure of package org.apache.commons.math4.legacy.analysis.interpolation
    • Hide
      detailed knowledge of org.​apache.​commons.​math4.​legacy.​analysis.​interpolation.UnivariateInterpolator and its subclasses

      general knowledge around polynomial functions
      Show
      detailed knowledge of org.​apache.​commons.​math4.​legacy.​analysis.​interpolation.UnivariateInterpolator and its subclasses general knowledge around polynomial functions

    Description

      We would like to contribute a new clamped spline interpolation function in addition to the already available unclamped spline function. Our new ClampedSplineInterpolator is based on the same textbook as the original SplineInterpolator. The clamped spline offers additional parameterisation of starting and ending slopes (1st derivatives) as boundary conditions in order to provide more flexibility in spline creation.

      In this patch we follow the approach of subclassing the original SplineInterpolator and simply overloading it's interpolate() function by these two additional parameters. Is this an acceptable way or does the community recommend a different design approach?

      After clarifying the basic implementation approach we could also supply necessary tests etc. and finally contribute everything via ordinary GitHub pull request.

      Refer to our post on the dev mailing list: https://lists.apache.org/thread/34qnx4tgjbyv345lgmd57g0bnlnwdzc8

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            michikommader Michael Scholz
            Gilles Sadowski
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: