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

Class AverageFunction

public class AverageFunction extends Object implements Function

This function returns the average of the number sequence.

Author: Cedric Pronzato

Constructor Summary
AverageFunction()
Method Summary
TypeValuePairevaluate(FormulaContext context, ParameterCallback parameters)
StringgetCanonicalName()

Constructor Detail

AverageFunction

public AverageFunction()

Method Detail

evaluate

public TypeValuePair evaluate(FormulaContext context, ParameterCallback parameters)

getCanonicalName

public String getCanonicalName()