| 5 | namespace bh = boost::histogram; |
| 6 | |
| 7 | int main() { |
| 8 | // create a 2d-histogram with an "age" and an "income" axis |
| 9 | auto h = bh::make_static_histogram( |
| 10 | bh::axis::regular<>(20, 0, 100, "age in years"), |
| 11 | bh::axis::regular<>(20, 0, 100, "yearly income in $1000")); |
| 12 | |
| 13 | // do something with h |
| 14 | } |
| 15 | |
| 16 | //] |
nothing calls this directly
no test coverage detected