DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=34230>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=34230 Summary: PolynomialSplineFunction.value() throws an exception when requesting final datapoint Product: Commons Version: 1.0 Final Platform: All OS/Version: other Status: NEW Severity: normal Priority: P2 Component: Math AssignedTo: commons-dev@jakarta.apache.org ReportedBy: [EMAIL PROTECTED] The javadocs for this function state that "Throws: FunctionEvaluationException - if v is outside of the domain of of the spline function (less than the smallest knot point or greater than or equal to the largest knot point)" I have a series of points, for example ( (12.2,3), (15.4,1.2), (18.9, 4.6) ) that I need to interpolate some data points from. The problem is that I need to be able to interpolate from 12.2 through 18.9 inclusive, right now an exception is thrown if I try to evaluate for 18.9, which is exactly what the javadocs state should happen. Is there a mathematical reason for being able to evaluate the first datapoint but not the last one? Can you point me to a reference if that is the case? To me it seems to make sense that it should be able to determine the value at one of the knot points, ". Comments from Brent Worden: I've looked over some literature and I agree with you that it does not make much sense that the function can not be evaluated at one of the knots. Ben has agreed to spend some time working on a patch. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]