You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Gilles (JIRA)" <ji...@apache.org> on 2013/05/06 16:30:16 UTC

[jira] [Commented] (MATH-972) LinearInterpolator Misconception

    [ https://issues.apache.org/jira/browse/MATH-972?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13649770#comment-13649770 ] 

Gilles commented on MATH-972:
-----------------------------

Could you please upload a unit test showing the problem?

                
> LinearInterpolator Misconception
> --------------------------------
>
>                 Key: MATH-972
>                 URL: https://issues.apache.org/jira/browse/MATH-972
>             Project: Commons Math
>          Issue Type: Bug
>    Affects Versions: 3.2
>         Environment: All
>            Reporter: oskar_hertwig
>            Priority: Trivial
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> The method interpolate() of the class LinearInterpolator return a polynomialSplineFunction althought a piecewiseContinuousFunction have to be returned.
> This cause a bug. Indeed when the interpolated serie is localy constant the linear interpolation should lead to constant value between this points. This is not possible when the returned object is a PolynomialSplineFunction

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira