| OLD | NEW |
| 1 part of dromaeo; | 1 part of dromaeo; |
| 2 | 2 |
| 3 class Result { | 3 class Result { |
| 4 int get runs { return _sorted.length; } | 4 int get runs { return _sorted.length; } |
| 5 | 5 |
| 6 double get sum { | 6 double get sum { |
| 7 double result = 0.0; | 7 double result = 0.0; |
| 8 _sorted.forEach((double e) { result += e; }); | 8 _sorted.forEach((double e) { result += e; }); |
| 9 return result; | 9 return result; |
| 10 } | 10 } |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 44 } | 44 } |
| 45 | 45 |
| 46 Result._internal(this._sorted) {} | 46 Result._internal(this._sorted) {} |
| 47 | 47 |
| 48 List<double> _sorted; | 48 List<double> _sorted; |
| 49 | 49 |
| 50 // Populated from: http://www.medcalc.be/manual/t-distribution.php | 50 // Populated from: http://www.medcalc.be/manual/t-distribution.php |
| 51 // 95% confidence for N - 1 = 4 | 51 // 95% confidence for N - 1 = 4 |
| 52 static const double T_DISTRIBUTION = 2.776; | 52 static const double T_DISTRIBUTION = 2.776; |
| 53 } | 53 } |
| OLD | NEW |