Package jhd.Interpolators
Class CubicSplineInterpolator
java.lang.Object
jhd.Interpolators.CubicSplineInterpolator
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoubleinterpolate(double targetX) Evaluates the interpolated y-value at a given x-coordinate.
-
Constructor Details
-
CubicSplineInterpolator
public CubicSplineInterpolator(double[] x, double[] y)
-
-
Method Details
-
interpolate
public double interpolate(double targetX) Evaluates the interpolated y-value at a given x-coordinate.
-