Re: [Boost-bugs] [Boost C++ Libraries] #7150: What effect does the mean tag have on variance

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #7150: What effect does the mean tag have on variance
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-07-19 02:21:58


#7150: What effect does the mean tag have on variance
-----------------------------------+----------------------------------------
  Reporter: colmearley@… | Owner: eric_niebler
      Type: Support Requests | Status: reopened
 Milestone: To Be Determined | Component: accumulator
   Version: Boost 1.49.0 | Severity: Problem
Resolution: | Keywords:
-----------------------------------+----------------------------------------
Changes (by Colm Earley <colmearley@…>):

  * status: closed => reopened
  * resolution: invalid =>

Comment:

 Thanks Eric.
 Does this mean that accumulators can only calculate one value at a time?
 Say I wanted to calculate mean, variance and kurtosis, would I need
 separate accumulators to avoid overwriting the dependencies?

 This is what I initially expected to work:
 typedef accumulator_set<double, stats<tag::mean, tag::variance,
 tag::kurtosis> > stats;

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/7150#comment:2>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:10 UTC