Changeset 197 for trunk/src/AveragerPair.cc
 Timestamp:
 Oct 27, 2004, 9:04:22 PM (17 years ago)
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

trunk/src/AveragerPair.cc
r138 r197 10 10 11 11 namespace theplu { 12 namespace cpptools{12 namespace statistics{ 13 13 14 14 … … 18 18 } 19 19 20 AveragerPair::AveragerPair(const std::pair<double,double> z)21 : x_(Averager(z.first)), y_(Averager(z.second)), xy_(z.first*z.second)22 {23 }24 25 AveragerPair::AveragerPair(const double x, const double y)26 : x_(Averager(x)), y_(Averager(y)), xy_(x*y)27 {28 }29 30 20 AveragerPair::AveragerPair(const double x, const double xx, const double y, 31 21 const double yy, const double xy, const long n) 32 22 : x_(Averager(x,xx,n)), y_(Averager(y,yy,n)), xy_(xy) 33 {34 }35 36 AveragerPair::AveragerPair(const gslapi::vector& x, const gslapi::vector& y )37 :x_(Averager(x)), y_(Averager(y)), xy_(x*y)38 23 { 39 24 } … … 52 37 } 53 38 54 }} // of namespace cpptools and namespace theplu39 }} // of namespace statistics and namespace theplu
Note: See TracChangeset
for help on using the changeset viewer.