类 AkimaSplineInterpolator

java.lang.Object
org.hipparchus.analysis.interpolation.AkimaSplineInterpolator
所有已实现的接口:
FieldUnivariateInterpolator, UnivariateInterpolator

public class AkimaSplineInterpolator extends Object implements UnivariateInterpolator, FieldUnivariateInterpolator
使用Akima算法为数据集计算三次样条插值,该算法最初由Hiroshi Akima在其1970年的论文"A New Method of Interpolation and Smooth Curve Fitting Based on Local Procedures." J. ACM 17, 4 (October 1970), 589-602中提出。DOI=10.1145/321607.321609 http://doi.acm.org/10.1145/321607.321609

此实现基于Math.NET Numerics库中CubicSpline类中的Akima实现。所引用的方法是CubicSpline.InterpolateAkimaSorted

interpolate方法返回一个由n个三次多项式组成的PolynomialSplineFunction,在由x值确定的子区间上定义,x[0] < x[i] ... < x[n]。Akima算法要求n >= 5