def eq_eval(eq_str):
    return [eval(expr) for expr in split_equation(eq_str)]
示例#2
0
 def add_equation(self, equation, **kwargs):
     equation = parsing.split_equation(equation)[0] + ' = 0'
     super().add_equation(equation, **kwargs)