edu.stanford.rsl.konrad.fitting
Class LogarithmicFunction

java.lang.Object
  extended by edu.stanford.rsl.konrad.fitting.Function
      extended by edu.stanford.rsl.konrad.fitting.LogarithmicFunction
All Implemented Interfaces:
java.io.Serializable

public class LogarithmicFunction
extends Function

See Also:
Serialized Form

Constructor Summary
LogarithmicFunction()
           
 
Method Summary
 double evaluate(double x)
           
 void fitToPoints(double[] x, double[] y)
           
 void fitToThreePoints(double x1, double x2, double x3, double y1, double y2, double y3)
           
 double getA()
           
 double getB()
           
 double getC()
           
 double getD()
           
 void setA(double a)
           
 void setB(double b)
           
 void setC(double c)
           
 void setD(double d)
           
 java.lang.String toString()
           
 
Methods inherited from class edu.stanford.rsl.konrad.fitting.Function
getAvailableFunctions
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LogarithmicFunction

public LogarithmicFunction()
Method Detail

evaluate

public double evaluate(double x)
Specified by:
evaluate in class Function

toString

public java.lang.String toString()
Specified by:
toString in class Function

fitToThreePoints

public void fitToThreePoints(double x1,
                             double x2,
                             double x3,
                             double y1,
                             double y2,
                             double y3)

getA

public double getA()

setA

public void setA(double a)

getB

public double getB()

setB

public void setB(double b)

getC

public double getC()

setC

public void setC(double c)

getD

public double getD()

setD

public void setD(double d)

fitToPoints

public void fitToPoints(double[] x,
                        double[] y)
Specified by:
fitToPoints in class Function