source: trunk/c++_tools/statistics/Averager.cc @ 616

Last change on this file since 616 was 616, checked in by Jari Häkkinen, 16 years ago

Removed gslapi namespace and put the code into utility namespace.
Move #ifndef _header_ idiom to top of touched header files.
Removed unneccesary #includes, and added needed #includes.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 267 bytes
Line 
1// $Id: Averager.cc 616 2006-08-31 08:52:02Z jari $
2
3#include <c++_tools/statistics/Averager.h>
4
5namespace theplu {
6namespace statistics{
7 
8
9  const Averager& Averager::operator+=(const Averager& a)
10  {
11    n_+=a.n_;
12    x_+=a.x_;
13    xx_+=a.xx_;
14    return *this;
15  }
16
17
18}} // of namespace statistics and namespace theplu
Note: See TracBrowser for help on using the repository browser.