commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Luc Maisonobe (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MATH-562) "UnivariateRealPeriodicInterpolator"
Date Fri, 22 Apr 2011 16:22:05 GMT

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

Luc Maisonobe commented on MATH-562:
------------------------------------

Why not ?

> "UnivariateRealPeriodicInterpolator"
> ------------------------------------
>
>                 Key: MATH-562
>                 URL: https://issues.apache.org/jira/browse/MATH-562
>             Project: Commons Math
>          Issue Type: New Feature
>            Reporter: Gilles
>            Assignee: Gilles
>            Priority: Minor
>             Fix For: 3.0
>
>
> It would be an interpolator implementation that assumes that the data to be interpolated
is periodic. Thus values that are outside of the range can be passed to the interpolation
function:
> They will be wrapped into the initial range before being passed to the class that actually
computes the interpolation.
> The constructor prototype would be:
> {code}
> /**
>  * Builds an interpolator.
>  *
>  * @param interpolator Interpolator.
>  * @param period Period.
>  * @param offset Offset.
>  * @param extend Number of points to be appended at the beginning and
>  * end of the sample arrays in order to avoid interpolation failure at
>  * the (periodic) boundaries of the orginal interval. The value is the
>  * number of sample points which the original {@code interpolator} needs
>  * on each side of the interpolation point.
>  */
> public UnivariateRealPeriodicInterpolator(UnivariateRealInterpolator interpolator,
>                                           double period,
>                                           double offset,
>                                           int extend) {
>     // ...
> }
> {code}
> Would it be useful to have that in CM?

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message