edu.stanford.rsl.konrad.fitting
Class IdentityFunction

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

public class IdentityFunction
extends Function

See Also:
Serialized Form

Constructor Summary
IdentityFunction()
           
 
Method Summary
 double evaluate(double x)
           
 void fitToPoints(double[] x, double[] y)
           
 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

IdentityFunction

public IdentityFunction()
Method Detail

toString

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

evaluate

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

fitToPoints

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