[math] SmoothingSpline?

2005-01-05 Thread Joel . Freyss
double sigma(int index) { if(sigma==null) return 1; return sigma[index]; } } Joel Freyss Research Informatician Actelion Pharmaceuticals Ltd / Gewerbestrasse 16 / CH - 4123 Allschwil / Switzerland / phone +41 61 487 43 34 / [EMAIL PROTECTED] / www.actelion.com ***

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;