Binary Operations
path : fep/src/nodes/binary_op.py
Addition
Params: left, right
Symbol: +
class Add(BinaryOperation):
def __init__(self, left, right):
super().__init__(left=left, op="+", right=right)
Subtraction
Params: left, right
Symbol: -
class Subtract(BinaryOperation):
def __init__(self, left, right):
super().__init__(left, "-", right)
Multiplication
Params: left, right
Symbol: *
class Multiply(BinaryOperation):
def __init__(self, left, right):
super().__init__(left, "*", right)
Division
Params: left, right
Symbol: /
Power
Params: base, index
Symbol: ^