E

E(expr, default_namespace='python')

Parse a Symbolica expression from a string.

Parameters

Name Type Description Default
input An input string. UTF-8 characters are allowed. required

Examples

>>> e = E('x^2+y+y*4')
>>> print(e)
x^2+5*y

Raises

Name Type Description
ValueError If the input is not a valid Symbolica expression.