conatus.parse_equation

conatus.parse_equation(text, namespace=None)[source]

Parse "lhs = rhs" into an Equation (no eval).

namespace: a Namespace, a mapping (locals(), dict(u=u, Re=Re)), a Problem (its variables) or an iterable of Fields/Parameters. Grammar: GRAMMAR.

Parameters:
  • text (str)

  • namespace (Any)