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()
protected AverageFunction(SumFunction sumFunction)
Method Summary
TypeValuePairevaluate(FormulaContext context, ParameterCallback parameters)
StringgetCanonicalName()

Constructor Detail

AverageFunction

public AverageFunction()

AverageFunction

protected AverageFunction(SumFunction sumFunction)

Method Detail

evaluate

public TypeValuePair evaluate(FormulaContext context, ParameterCallback parameters)

getCanonicalName

public String getCanonicalName()