Package | Description |
---|---|
net.sf.reportengine.core.calc |
Modifier and Type | Method and Description |
---|---|
AvgCalcIntermResult<BigDecimal> |
AvgGroupCalculator.compute(AvgCalcIntermResult<BigDecimal> intermResult,
Object newValue)
this compute method is based on the following formula:
AVG[n+1] = (n * AVG[n] + element[n+1] ) / (n+1)
|
AvgCalcIntermResult<BigDecimal> |
AvgGroupCalculator.init()
init method required by the GroupCalculator
|
Modifier and Type | Method and Description |
---|---|
AvgCalcIntermResult<BigDecimal> |
AvgGroupCalculator.compute(AvgCalcIntermResult<BigDecimal> intermResult,
Object newValue)
this compute method is based on the following formula:
AVG[n+1] = (n * AVG[n] + element[n+1] ) / (n+1)
|
Copyright © 2006–2015. All rights reserved.