Description
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; }