public class CubicSplineInterpolator implements Interpolator
Interpolates values between the given data points using a class SplineFunction.
Implementation uses the Natural Cubic Spline algorithm as described in R. L. Burden and J. D. Faires (2011), Numerical Analysis. 9th ed. Boston, MA: Brooks/Cole, Cengage Learning. p149-150.
class SplineFunction| Modifier and Type | Class and Description |
|---|---|
static class |
CubicSplineInterpolator.Factory |
| Modifier and Type | Field and Description |
|---|---|
static CubicSplineInterpolator.Factory |
Factory |
| Constructor and Description |
|---|
CubicSplineInterpolator(double[] xs,
double[] ys)
Interpolates values between the given data points using a
class SplineFunction. |
| Modifier and Type | Method and Description |
|---|---|
double |
interpolate(double x) |
interpolatepublic static CubicSplineInterpolator.Factory Factory
public CubicSplineInterpolator(double[] xs,
double[] ys)
Interpolates values between the given data points using a class SplineFunction.
Implementation uses the Natural Cubic Spline algorithm as described in R. L. Burden and J. D. Faires (2011), Numerical Analysis. 9th ed. Boston, MA: Brooks/Cole, Cengage Learning. p149-150.
class SplineFunction