maspack.function
Class ConstantFuntion1x1

java.lang.Object
  extended by maspack.function.ConstantFuntion1x1
All Implemented Interfaces:
SISOFunction

public class ConstantFuntion1x1
extends java.lang.Object
implements SISOFunction


Constructor Summary
ConstantFuntion1x1(double c)
           
 
Method Summary
 double eval(double in)
           
 double getVal()
           
 void setVal(double val)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConstantFuntion1x1

public ConstantFuntion1x1(double c)
Method Detail

getVal

public double getVal()

setVal

public void setVal(double val)

eval

public double eval(double in)
Specified by:
eval in interface SISOFunction