Home | Libraries | People | FAQ | More |
boost::accumulators::impl::weighted_mean_impl
// In header: <boost/accumulators/statistics/weighted_mean.hpp> template<typename Sample, typename Weight, typename Tag> struct weighted_mean_impl { // types typedef numeric::functional::multiplies< Sample, Weight >::result_type weighted_sample; typedef numeric::functional::average< weighted_sample, Weight >::result_type result_type; // construct/copy/destruct weighted_mean_impl(dont_care); // public member functions template<typename Args> result_type result(Args const &) const; };