weight function

construct related to weighted sums and averages

Categories: