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

Method at

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

Source from the content-addressed store, hash-verified

171 /// Access bin counter at indices
172 template <typename... Ts>
173 const_reference at(const Ts&... ts) const {
174 // case with one argument is ambiguous, is specialized below
175 const auto index =
176 detail::at_impl(detail::no_container_tag(), axes_, static_cast<int>(ts)...);
177 return storage_[index];
178 }
179
180 template <typename T>
181 void operator()(const T& t) {

Callers 15

mainFunction · 0.80
test_fill_1dMethod · 0.80
test_growthMethod · 0.80
test_fill_2dMethod · 0.80
test_add_2dMethod · 0.80
test_add_2d_wMethod · 0.80
test_overflowMethod · 0.80
test_out_of_rangeMethod · 0.80
test_operatorsMethod · 0.80
test_reduce_toMethod · 0.80

Calls 2

at_implFunction · 0.85
no_container_tagClass · 0.85

Tested by 15

mainFunction · 0.64
test_fill_1dMethod · 0.64
test_growthMethod · 0.64
test_fill_2dMethod · 0.64
test_add_2dMethod · 0.64
test_add_2d_wMethod · 0.64
test_overflowMethod · 0.64
test_out_of_rangeMethod · 0.64
test_operatorsMethod · 0.64
test_reduce_toMethod · 0.64