source: trunk/lib/statistics/AveragerPair.cc @ 420

Last change on this file since 420 was 420, checked in by Jari Häkkinen, 16 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: 371 bytes
Line 
1// $Id: AveragerPair.cc 420 2005-12-02 00:15:50Z jari $
2
3#include <c++_tools/statistics/AveragerPair.h>
4#include <c++_tools/statistics/Averager.h>
5
6#include <utility>
7
8namespace theplu {
9namespace statistics{
10 
11
12  const AveragerPair& AveragerPair::operator+=(const AveragerPair& a)
13  {
14    x_+=a.x_averager();
15    y_+=a.y_averager();
16    xy_+=a.sum_xy();
17    return *this;
18  }
19
20
21}} // of namespace statistics and namespace theplu
Note: See TracBrowser for help on using the repository browser.