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

Function regular_pow_init

src/python/axis.cpp:231–240  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

229}
230
231bha::regular<bha::transform::pow>* regular_pow_init(unsigned bin, double lower,
232 double upper, double power,
233 bp::str pylabel, bool with_uoflow) {
234 using namespace ::boost::python;
235 const auto uo = with_uoflow ? bha::uoflow_type::on : bha::uoflow_type::off;
236 return new bha::regular<bha::transform::pow>(
237 bin, lower, upper,
238 {extract<const char*>(pylabel)(), static_cast<std::size_t>(bp::len(pylabel))}, uo,
239 power);
240}
241
242bha::integer<>* integer_init(int lower, int upper, bp::str pylabel, bool with_uoflow) {
243 using namespace ::boost::python;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected