smile.interpolation
Class LinearInterpolation
- java.lang.Object
-
- smile.interpolation.AbstractInterpolation
-
- smile.interpolation.LinearInterpolation
-
- All Implemented Interfaces:
- Interpolation
public class LinearInterpolation extends AbstractInterpolation
Piecewise linear interpolation. Linear interpolation, sometimes known as lerp, is quick and easy, but it is not very precise. Another disadvantage is that the interpolant is not differentiable at the control points x.
-
-
Constructor Summary
Constructors Constructor and Description LinearInterpolation(double[] x, double[] y)Constructor.
-
Method Summary
-
Methods inherited from class smile.interpolation.AbstractInterpolation
interpolate
-
-
DataMelt 3.0 © DataMelt by jWork.ORG