Changeset 2560
- Timestamp:
- Sep 25, 2011, 12:13:42 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/yat/statistics/Averager.cc
r2559 r2560 27 27 28 28 #include <cassert> 29 #include <cmath> 29 30 #include <limits> 30 31 … … 90 91 double Averager::standard_error(void) const 91 92 { 92 return s qrt(variance()/n_);93 return std::sqrt(variance()/n_); 93 94 } 94 95 95 96 double Averager::std(void) const 96 97 { 97 return s qrt(variance());98 return std::sqrt(variance()); 98 99 } 99 100 100 101 double Averager::std(double m) const 101 102 { 102 return s qrt(variance(m));103 return std::sqrt(variance(m)); 103 104 } 104 105
Note: See TracChangeset
for help on using the changeset viewer.