Class ParsedFunction.Constant

java.lang.Object
  |
  +--ParsedFunction.Expression
        |
        +--ParsedFunction.Constant
Enclosing class:
ParsedFunction

class ParsedFunction.Constant
extends ParsedFunction.Expression


Field Summary
protected  double val
           
 
Constructor Summary
ParsedFunction.Constant(double val)
           
 
Method Summary
 double evaluate(double x)
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

val

protected double val
Constructor Detail

ParsedFunction.Constant

public ParsedFunction.Constant(double val)
Method Detail

evaluate

public double evaluate(double x)
Overrides:
evaluate in class ParsedFunction.Expression