de.grogra.blocks.functionParser
Class Sqr

java.lang.Object
  extended by de.grogra.blocks.functionParser.Expr
      extended by de.grogra.blocks.functionParser.UnaryExpr
          extended by de.grogra.blocks.functionParser.Sqr

public class Sqr
extends UnaryExpr


Field Summary
 
Fields inherited from class de.grogra.blocks.functionParser.UnaryExpr
operand
 
Constructor Summary
Sqr(Expr operand)
           
 
Method Summary
 double eval()
           
 java.lang.String toString()
           
 
Methods inherited from class de.grogra.blocks.functionParser.UnaryExpr
setD, setH, setHl, setI, setN1, setN2, setN3, setP, setPreI, setX
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Sqr

public Sqr(Expr operand)
Method Detail

eval

public double eval()
Specified by:
eval in class Expr

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object