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

Method dim

include/boost/histogram/histogram.hpp:107–107  ·  view source on GitHub ↗

Number of axes (dimensions) of histogram

Source from the content-addressed store, hash-verified

105
106 /// Number of axes (dimensions) of histogram
107 std::size_t dim() const noexcept { return detail::axes_size(axes_); }
108
109 /// Total number of bins in the histogram (including underflow/overflow)
110 std::size_t size() const noexcept { return storage_.size(); }

Callers 8

run_testsFunction · 0.45
mainFunction · 0.45
array_interfaceMethod · 0.45
histogram_axisFunction · 0.45
histogram_callFunction · 0.45
histogram_getitemFunction · 0.45
setMethod · 0.45

Calls 1

axes_sizeFunction · 0.85

Tested by 2

run_testsFunction · 0.36
mainFunction · 0.36