einx.errors.SyntaxError#
- exception einx.errors.SyntaxError(expression, message, pos=None)#
This error occurs if einx operations encounter invalid syntax in an expression.
Example
>>> x = np.random.rand(3, 4) >>> einx.id("a (b -> b a", x) einx.errors.SyntaxError: Found an opening parenthesis that is not closed: Expression: "a (b" ^