org.fraid.math.functions
Class round

java.lang.Object
  extended by org.fraid.function.ComplexFunction
      extended by org.fraid.math.functions.round
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable

public class round
extends ComplexFunction

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.fraid.function.ComplexFunction
mName, mNumberOfArguments
 
Constructor Summary
round()
           
 
Method Summary
 Complex invoke(Complex[] args)
          The actual call to the function.
 
Methods inherited from class org.fraid.function.ComplexFunction
clone, exec, getDependancies, getName, getNumberOfArguments, getSignature, setName, setNumberOfArguments, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

round

public round()
Method Detail

invoke

public Complex invoke(Complex[] args)
Description copied from class: ComplexFunction
The actual call to the function.

Specified by:
invoke in class ComplexFunction
Parameters:
args - the arguments, can be (and usualy are) SimpleNode's
Returns:
a Complex value
See Also:
SimpleNode


Fraid (system and language). (C) 2003-2007 Ivaylo Iliev
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.