Documentation of 'smile.interpolation.CubicSplineInterpolation1D' Java class
CubicSplineInterpolation1D
smile.interpolation

Class CubicSplineInterpolation1D

  • All Implemented Interfaces:
    Interpolation


    public class CubicSplineInterpolation1D
    extends AbstractInterpolation
    Cubic spline interpolation. Spline interpolation uses low-degree polynomials in each of the intervals, and chooses the polynomial pieces such that they fit smoothly together. The resulting function is called a spline.

    The natural cubic spline is piecewise cubic and twice continuously differentiable. Furthermore, its second derivative is zero at the end points.

    Like polynomial interpolation, spline interpolation incurs a smaller error than linear interpolation and the interpolant is smoother. However, the interpolant is easier to evaluate than the high-degree polynomials used in polynomial interpolation. It also does not suffer from Runge's phenomenon.

    • Method Summary

      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CubicSplineInterpolation1D

        public CubicSplineInterpolation1D(double[] x,
                                          double[] y)
        Constructor.

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.