Class AverageFunction
java.lang.Object
org.pentaho.reporting.libraries.formula.function.math.AverageFunction
- All Implemented Interfaces:
Serializable
,Function
- Direct Known Subclasses:
AverageAFunction
This function returns the average of the number sequence.
- Author:
- Cedric Pronzato
- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
AverageFunction
public AverageFunction()
-
-
Method Details
-
getCanonicalName
- Specified by:
getCanonicalName
in interfaceFunction
-
evaluate
public TypeValuePair evaluate(FormulaContext context, ParameterCallback parameters) throws EvaluationException - Specified by:
evaluate
in interfaceFunction
- Throws:
EvaluationException
-