Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
-
None
Description
The interfaces for the interpolators contain a "throws" clause that should be removed.
E.g.
public interface UnivariateRealInterpolator { /** * Computes an interpolating function for the data set. * @param xval the arguments for the interpolation points * @param yval the values for the interpolation points * @return a function which interpolates the data set * @throws MathException if arguments violate assumptions made by the * interpolation algorithm */ UnivariateRealFunction interpolate(double xval[], double yval[]) throws MathException; }
Assumptions violation should be dealt with by throwing appropriate unchecked exceptions.