grapa.shared.maths.MathOperator
- class grapa.shared.maths.MathOperator
Bases:
objectTo help write nicer code when dealing with math operations on Curves
- __init__()
Methods
operate(xseries, yseries, operator)Attributes
ADDDIVMULPOWSUB- classmethod operate(xseries, yseries, operator: str) → ndarray
- Parameters:
xseries – list or np.array
yseries – list or np.array
operator – one of the class constant ADD, SUB, MUL, DIV or POW.
- Returns:
np.array