edu.stanford.rsl.konrad.utils.interpolation
Class Interpolator

java.lang.Object
  extended by edu.stanford.rsl.konrad.utils.interpolation.Interpolator
Direct Known Subclasses:
LinearInterpolator, LogLinearInterpolator, LogLogInterpolator

public abstract class Interpolator
extends java.lang.Object

This is a abstract class for interpolators. Interpolation is a method of constructing new data points within the range of a discrete set of known data points. For more on interpolation see http://en.wikipedia.org/wiki/Interpolation

Author:
Rotimi X Ojo

Constructor Summary
Interpolator()
           
 
Method Summary
abstract  double InterpolateYValue(double key)
           
 void setXPoints(double floor, double ceiling)
           
 void setYPoints(double floor, double ceiling)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Interpolator

public Interpolator()
Method Detail

setXPoints

public void setXPoints(double floor,
                       double ceiling)

setYPoints

public void setYPoints(double floor,
                       double ceiling)

InterpolateYValue

public abstract double InterpolateYValue(double key)