flanagan.interpolation
Class CubicSpline

java.lang.Object
  extended by flanagan.interpolation.CubicSpline

public class CubicSpline
extends java.lang.Object


Constructor Summary
CubicSpline(double[] x, double[] y)
           
CubicSpline(int nPoints)
           
 
Method Summary
 void averageIdenticalAbscissae()
           
 void calcDeriv()
           
 void checkForIdenticalPoints()
           
 void displayLimits()
           
 double[] getDeriv()
           
 double[] getLimits()
           
 double getXmax()
           
 double getXmin()
           
 double interpolate(double xx)
           
static double interpolate(double xx, double[] x, double[] y, double[] deriv)
           
static void noRoundingErrorCheck()
           
static CubicSpline[] oneDarray(int n, int m)
           
 void orderPoints()
           
static void potentialRoundingError(double potentialRoundingError)
           
 void resetData(double[] x, double[] y)
           
 void setDeriv(double[] deriv)
           
 void setDeriv(double yp1, double ypn)
           
 void setDerivLimits()
           
 void setDerivLimits(double yp1, double ypn)
           
 void setSubMatrix(java.lang.String subMatrixIndices)
           
static CubicSpline zero(int n)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CubicSpline

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

CubicSpline

public CubicSpline(int nPoints)
Method Detail

noRoundingErrorCheck

public static void noRoundingErrorCheck()

potentialRoundingError

public static void potentialRoundingError(double potentialRoundingError)

resetData

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

setSubMatrix

public void setSubMatrix(java.lang.String subMatrixIndices)

averageIdenticalAbscissae

public void averageIdenticalAbscissae()

orderPoints

public void orderPoints()

getXmax

public double getXmax()

getXmin

public double getXmin()

getLimits

public double[] getLimits()

displayLimits

public void displayLimits()

checkForIdenticalPoints

public void checkForIdenticalPoints()

zero

public static CubicSpline zero(int n)

oneDarray

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

setDerivLimits

public void setDerivLimits(double yp1,
                           double ypn)

setDerivLimits

public void setDerivLimits()

setDeriv

public void setDeriv(double yp1,
                     double ypn)

getDeriv

public double[] getDeriv()

setDeriv

public void setDeriv(double[] deriv)

calcDeriv

public void calcDeriv()

interpolate

public double interpolate(double xx)

interpolate

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


jHepWork 1.7 (C) Chekanov