be.hogent.tarsos.dsp.util
Class CubicSplineFast

java.lang.Object
  extended by be.hogent.tarsos.dsp.util.CubicSplineFast

public class CubicSplineFast
extends java.lang.Object


Constructor Summary
CubicSplineFast(double[] x, double[] y)
           
CubicSplineFast(int nPoints)
           
 
Method Summary
 void calcDeriv()
           
 double interpolate(double xx)
           
static CubicSplineFast[] oneDarray(int n, int m)
           
 void resetData(double[] x, double[] y)
           
static CubicSplineFast zero(int n)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CubicSplineFast

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

CubicSplineFast

public CubicSplineFast(int nPoints)
Method Detail

resetData

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

zero

public static CubicSplineFast zero(int n)

oneDarray

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

calcDeriv

public void calcDeriv()

interpolate

public double interpolate(double xx)