math
Class Function

java.lang.Object
  extended by math.Expression
      extended by math.Function
Direct Known Subclasses:
Abs, Acos, Asin, Atan, Cbrt, Cos, Cosh, Exp, Lg, Ln, Negation, Sin, Sinh, Sqrt, Tan, Tanh

public abstract class Function
extends Expression

Yhden muuttujan (unaarinen) funktio.


Field Summary
protected  Expression argument
           
 
Constructor Summary
Function(Expression argument)
          Luo uuden funktion, ja asettaa sen parametriksi annetun lausekkeen.
 
Method Summary
 
Methods inherited from class math.Expression
getValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

argument

protected Expression argument
Constructor Detail

Function

public Function(Expression argument)
         throws java.lang.NullPointerException
Luo uuden funktion, ja asettaa sen parametriksi annetun lausekkeen.

Parameters:
argument - asetettava parametri
Throws:
java.lang.NullPointerException