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

Last change on this file since 575 was 420, checked in by Jari Häkkinen, 17 years ago

Merged better_matrix_class changes r402:419 into the trunk.

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