Lazy calculation of variance. More...
#include <statistics_fwd.hpp>
Public Types | |
typedef numeric::functional::fdiv < Sample, std::size_t > ::result_type | result_type |
typedef mpl::false_ | is_droppable |
Public Member Functions | |
lazy_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.
Default sample variance implementation based on the second moment moment<2>, mean and count.
where
is the estimate of the sample mean and is the number of samples.
|
inherited |
typedef numeric::functional::fdiv<Sample, std::size_t>::result_type boost::accumulators::impl::lazy_variance_impl< Sample, MeanFeature >::result_type |
|
inline |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inline |
References boost::python::args(), and boost::accumulators::extract::mean.