Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::accumulators::impl::sum_kahan_impl< Sample, Tag > Struct Template Reference

#include <statistics_fwd.hpp>

Inheritance diagram for boost::accumulators::impl::sum_kahan_impl< Sample, Tag >:
Collaboration diagram for boost::accumulators::impl::sum_kahan_impl< Sample, Tag >:

Public Types

typedef Sample result_type
 
typedef mpl::false_ is_droppable
 

Public Member Functions

template<typename Args >
 sum_kahan_impl (Args const &args)
 Kahan summation algorithm. More...
 
template<typename Args >
void operator() (Args const &args)
 
result_type result (dont_care) const
 
detail::void_ operator() (dont_care)
 
detail::void_ add_ref (dont_care)
 
detail::void_ drop (dont_care)
 
detail::void_ on_drop (dont_care)
 

Member Typedef Documentation

template<typename Sample , typename Tag >
typedef Sample boost::accumulators::impl::sum_kahan_impl< Sample, Tag >::result_type

Constructor & Destructor Documentation

template<typename Sample , typename Tag >
template<typename Args >
boost::accumulators::impl::sum_kahan_impl< Sample, Tag >::sum_kahan_impl ( Args const &  args)
inline

Kahan summation algorithm.

The Kahan summation algorithm reduces the numerical error obtained with standard sequential sum.

Member Function Documentation

detail::void_ boost::accumulators::accumulator_base::add_ref ( dont_care  )
inlineinherited
detail::void_ boost::accumulators::accumulator_base::drop ( dont_care  )
inlineinherited
detail::void_ boost::accumulators::accumulator_base::on_drop ( dont_care  )
inlineinherited
detail::void_ boost::accumulators::accumulator_base::operator() ( dont_care  )
inlineinherited
template<typename Sample , typename Tag >
template<typename Args >
void boost::accumulators::impl::sum_kahan_impl< Sample, Tag >::operator() ( Args const &  args)
inline
template<typename Sample , typename Tag >
result_type boost::accumulators::impl::sum_kahan_impl< Sample, Tag >::result ( dont_care  ) const
inline

The documentation for this struct was generated from the following file: