org.pentaho.reporting.libraries.formula.function.math
Class SqrtFunction

java.lang.Object
  extended by org.pentaho.reporting.libraries.formula.function.math.SqrtFunction
All Implemented Interfaces:
Serializable, Function

public class SqrtFunction
extends Object
implements Function

This function returns the sqrt of the value.

Author:
ocke
See Also:
Serialized Form

Constructor Summary
SqrtFunction()
           
 
Method Summary
 TypeValuePair evaluate(FormulaContext context, ParameterCallback parameters)
           
 String getCanonicalName()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SqrtFunction

public SqrtFunction()
Method Detail

getCanonicalName

public String getCanonicalName()
Specified by:
getCanonicalName in interface Function

evaluate

public TypeValuePair evaluate(FormulaContext context,
                              ParameterCallback parameters)
                       throws EvaluationException
Specified by:
evaluate in interface Function
Throws:
EvaluationException