mirror of
https://github.com/boostorg/histogram.git
synced 2026-01-30 07:52:11 +00:00
adding and testing operators on the python side
This commit is contained in:
@@ -379,6 +379,10 @@ void register_histogram() {
|
||||
":returns: string representation of the histogram")
|
||||
.def(python::self == python::self)
|
||||
.def(python::self += python::self)
|
||||
.def(python::self *= double())
|
||||
.def(python::self * double())
|
||||
.def(double() * python::self)
|
||||
.def(python::self + python::self)
|
||||
.def_pickle(serialization_suite<dynamic_histogram>());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user