org.dyndns.kwitte.jfunction
Interface Term


public interface Term

A term in the tree that represents the term.


Method Summary
 double evaluate(double x)
          Evaluates this term at the position x.
 

Method Detail

evaluate

double evaluate(double x)
Evaluates this term at the position x. Example: let 1 + x be the value of this term. Then this method returns 3 when you pass 2 for x.

Parameters:
x - the value where to evaluate
Returns:
the value of this part of the term for x
See Also:
Terms.compile(String)