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
|
Rev | Line | |
---|
[87] | 1 | // $Id: Averager.cc 616 2006-08-31 08:52:02Z jari $ |
---|
| 2 | |
---|
[295] | 3 | #include <c++_tools/statistics/Averager.h> |
---|
[137] | 4 | |
---|
[87] | 5 | namespace theplu { |
---|
[197] | 6 | namespace statistics{ |
---|
[87] | 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 | |
---|
[420] | 17 | |
---|
[197] | 18 | }} // of namespace statistics and namespace theplu |
---|
Note: See
TracBrowser
for help on using the repository browser.