generalized_average
