| 4 | import math; |
| 5 | |
| 6 | int main() |
| 7 | { |
| 8 | const double values[]{ 10, 2, 1, 8, 3, 7, 4, 5, 6, 9 }; |
| 9 | std::cout << "Arithmetic mean: " << math::averages::arithmetic_mean(values) << std::endl; |
| 10 | std::cout << "Geometric mean: " << math::averages::geometric_mean(values) << std::endl; |
| 11 | std::cout << "Root mean square: " << math::averages::rms(values) << std::endl; |
| 12 | std::cout << "Median: " << math::averages::median(values) << std::endl; |
| 13 | } |
nothing calls this directly
no test coverage detected