Interpolation over an array (or two)

后端 未结 8 621
闹比i
闹比i 2020-12-10 15:27

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

8条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-10 16:02

    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/

提交回复
热议问题