MCPcopy Create free account
hub / github.com/boostorg/histogram / main

Function main

examples/guide_make_static_histogram.cpp:7–16  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5namespace bh = boost::histogram;
6
7int main() {
8 /*
9 create a 1d-histogram in default configuration which
10 covers the real line from -1 to 1 in 100 bins, the same
11 call with `make_dynamic_histogram` would also work
12 */
13 auto h = bh::make_static_histogram(bh::axis::regular<>(100, -1, 1));
14
15 // do something with h
16}
17
18//]

Callers

nothing calls this directly

Calls 1

make_static_histogramFunction · 0.85

Tested by

no test coverage detected