【发布时间】:2017-04-29 20:33:32
【问题描述】:
在我的 Java 应用程序中,我需要根据以下数据重新计算平均值:
- 我知道当前的平均值 -
avgValue - 我知道
avgValue是 12 个值列表的平均值 -count。
当新的value 被添加到之前 12 个值的列表中时,如何根据此信息重新计算 avgValue。 13 个值列表的新 avgValue 是什么 - count + 1?
【问题讨论】:
标签: math mathematical-optimization