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

Function element_repr

src/python/histogram.cpp:349–351  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

347int element_len(const pyhistogram::element_type&) { return 2; }
348
349std::string element_repr(const pyhistogram::element_type& e) {
350 return bh::detail::cat("histogram.element(", e.value(), ", ", e.variance(), ")");
351}
352
353void register_histogram() {
354 bp::docstring_options dopt(true, true, false);

Callers

nothing calls this directly

Calls 3

catFunction · 0.85
valueMethod · 0.45
varianceMethod · 0.45

Tested by

no test coverage detected