sears.tools
Class LinearInterpolation

java.lang.Object
  extended by sears.tools.LinearInterpolation

public class LinearInterpolation
extends java.lang.Object

LinearInterpolation This class permits to perform linear interpolation by segments.


Constructor Summary
LinearInterpolation(double[] x, double[] y)
           
 
Method Summary
 double interpolate(double xx)
           
 void resetDatas(double[] x, double[] y)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LinearInterpolation

public LinearInterpolation(double[] x,
                           double[] y)
Method Detail

resetDatas

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

interpolate

public double interpolate(double xx)