diff --git a/help b/help new file mode 100644 index 000000000..e69de29bb diff --git a/pineappl_py/src/grid.rs b/pineappl_py/src/grid.rs index ddc6cbf7e..76103a69b 100644 --- a/pineappl_py/src/grid.rs +++ b/pineappl_py/src/grid.rs @@ -465,4 +465,14 @@ impl PyGrid { }) .collect() } + + /// Scale all subgrids. + /// + /// Parameters + /// ---------- + /// factor : float + /// scalar factor by which scaling + pub fn scale(&mut self, factor: f64) { + self.grid.scale(factor); + } }