Constructors

public CubicSpline(double[] x, double[] y)

public CubicSpline(int n)

Interpolate

public double interpolate(double xx1)

public double[] interpolate_for_y_and_dydx(double xx1)

public static double interpolate(double xx1, double[] x, double[] y, double[] deriv)

Override natural spline

public void setDerivLimits(double ydd0, double yddn)

Reset natural spline

public void setDerivLimits()

Calculate second derivatives

public void calcDeriv()

Set second derivatives

public void setDeriv(public double[] deriv)

Get second derivatives

public double[] getDeriv()

Set Data

public void resetData(double[] x, double[] y)

Array

public static CubicSpline[] oneDarray(int n, int m)

New CubicSpline

public static CubicSpline zero(int n)

Rounding Error Options

public static void noRoundingErrorCheck()

public static void potentialRoundingError(double potentialRoundingError)
