- commit
- 14225f3943d190486a4bc35c6aad39907b345748
- parent
- 765d892fd140057f8a5d4a7d9cfa6901d1ac9d44
- Author
- Tobias Bengfort <tobias.bengfort@posteo.de>
- Date
- 2024-09-07 07:17
add more functions
Diffstat
| M | sheet/sheet.py | 7 | +++++++ |
1 files changed, 7 insertions, 0 deletions
diff --git a/sheet/sheet.py b/sheet/sheet.py
@@ -24,7 +24,14 @@ class Bar: 24 24 25 25 FUNCTIONS = { 26 26 'sum': (sum, 'range'), -1 27 'min': (min, 'range'), -1 28 'max': (max, 'range'), 27 29 'power': (math.pow, 2), -1 30 'exp': (math.exp, 1), -1 31 'sin': (math.sin, 1), -1 32 'cos': (math.cos, 1), -1 33 'tan': (math.tan, 1), -1 34 'log': (math.log, 1), 28 35 'bar': (Bar, 1), 29 36 } 30 37