Lazy calculation of variance of weighted samples. More...
#include <statistics_fwd.hpp>
Public Types | |
typedef numeric::functional::multiplies < Sample, Weight > ::result_type | weighted_sample |
typedef numeric::functional::fdiv < weighted_sample, Weight > ::result_type | result_type |
typedef mpl::false_ | is_droppable |
Public Member Functions | |
lazy_weighted_variance_impl (dont_care) | |
template<typename Args > | |
result_type | result (Args const &args) const |
detail::void_ | operator() (dont_care) |
detail::void_ | add_ref (dont_care) |
detail::void_ | drop (dont_care) |
detail::void_ | on_drop (dont_care) |
Lazy calculation of variance of weighted samples.
The default implementation of the variance of weighted samples is based on the second moment (weighted_moment<2>) and the mean (weighted_mean):
where is the number of samples.
|
inherited |
typedef numeric::functional::fdiv<weighted_sample, Weight>::result_type boost::accumulators::impl::lazy_weighted_variance_impl< Sample, Weight, MeanFeature >::result_type |
typedef numeric::functional::multiplies<Sample, Weight>::result_type boost::accumulators::impl::lazy_weighted_variance_impl< Sample, Weight, MeanFeature >::weighted_sample |
|
inline |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inline |
References boost::python::args().