Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is an old version of boost. Click here for the latest version's documentation home page.
PrevUpHomeNext

Struct template average<Left, Right, std_valarray_tag, RightTag>

boost::numeric::functional::average<Left, Right, std_valarray_tag, RightTag>

Synopsis

// In header: <boost/accumulators/numeric/functional/valarray.hpp>

template<typename Left, typename Right, typename RightTag> 
struct average<Left, Right, std_valarray_tag, RightTag> : public mpl::if_::type< are_integral< Left::value_type, Right >, divides< Left, double const  >, divides< Left, Right > >
{
};

PrevUpHomeNext