# SuanShu, a Java numerical and statistical library

The weighted mean is defined as $\bar{x} = \frac{ \sum_{i=1}^N w_i x_i}{\sum_{i=1}^N w_i}$