I\'m looking for a java library or some help to write my own interpolation function. That is I have two arrays of doubles which are potentially different sizes, but are ord
I know this is an old answer, but it's the first google hit when searching for Java interpolation. The accepted answer provides some helpful links, but JMSL must be purchased, and the JSpline+ website looks sketchy.
Apache Commons Math has implementations of linear and spline interpolations that appear simple, functional, and trustworthy.
http://commons.apache.org/proper/commons-math/