Re: Bug (and fix) on Commons-Math SplineInterpolator

2004-04-02 Thread Phil Steitz
Al Chou wrote: --- Phil Steitz <[EMAIL PROTECTED]> wrote: Should be fixed now in CVS. In addition to fixing the impl, I made the following changes: SplineInterpolator.interpolate(double[], double[]) now returns a PolynomialSplineInterpolator (new class), which has an array of PolynomialFunctio

Re: Bug (and fix) on Commons-Math SplineInterpolator

2004-04-02 Thread Al Chou
--- Phil Steitz <[EMAIL PROTECTED]> wrote: > Should be fixed now in CVS. > > In addition to fixing the impl, I made the following changes: > > SplineInterpolator.interpolate(double[], double[]) now returns a > PolynomialSplineInterpolator (new class), which has an array of > PolynomialFunctions

Re: Bug (and fix) on Commons-Math SplineInterpolator

2004-04-02 Thread Phil Steitz
Should be fixed now in CVS. In addition to fixing the impl, I made the following changes: SplineInterpolator.interpolate(double[], double[]) now returns a PolynomialSplineInterpolator (new class), which has an array of PolynomialFunctions representing the spline segments. Both PolynomialSpline

Re: Bug (and fix) on Commons-Math SplineInterpolator

2004-03-29 Thread Mark R. Diggory
Thank you Joel, It would be good to submit these into bigzilla, you can attach your changes either as unified diff patches or as java file attachments. Follow the directions here: http://jakarta.apache.org/commons/math/developers.html Cheers, Mark On Mon, 2004-03-29 at 09:23, [EMAIL PROTECTED]

Bug (and fix) on Commons-Math SplineInterpolator

2004-03-29 Thread Joel . Freyss
I don't know what the proper way to report a bug but I found the SplineInterpolator useful for my needs... except that it didn't work (which was likely for version 0.14) Here is my fix: Replace double dquot = (yval[1] - yval[0]) / (xval[1] - xval[0]); for (int i = 0;