[ 
https://issues.apache.org/jira/browse/MATH-504?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Luc Maisonobe resolved MATH-504.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 3.0

Fixed in subversion repository as of r1132439.

Thanks for the report

> LOESS interpolation & tricube fonction
> --------------------------------------
>
>                 Key: MATH-504
>                 URL: https://issues.apache.org/jira/browse/MATH-504
>             Project: Commons Math
>          Issue Type: Bug
>    Affects Versions: 2.1
>         Environment: Win XP
>            Reporter: X. B.
>            Priority: Trivial
>              Labels: loess
>             Fix For: 3.0
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> the doc for tricube fonction used in LOESS smooth() says :
> * @return <code>(1 - |x|<sup>3</sup>)<sup>3</sup></code>.
> But I'dont see the absolute value for x.
> Also, the "classical" tricube fonction (see 
> http://www.itl.nist.gov/div898/handbook/pmd/section1/pmd144.htm)
> seems to return 0 if abs( x )>1. 
> In the code of the tricube method, It is apparently not the case...
>     private static double tricube(final double x) {
>         final double tmp = 1 - x * x * x;
>         return tmp * tmp * tmp;
>     }

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

Reply via email to