It's probably not supported, but it could be added. The Mathematica
parser is still relatively rudimentary, so a lot of syntax features of
Mathematica aren't supported.

Aaron Meurer

On Mon, Oct 12, 2020 at 9:04 AM Roberto <[email protected]> wrote:
>
> from sympy.parsing.mathematica import mathematica
>
> Power with ** works
> _mma = mathematica('3**2', {})
> also the ^ works
> _mma = mathematica('3^2', {})
> but there seems to be a problem with *^ notation
> _mma = mathematica('3*^2', {})
> as ^ is parsed as **, without checking ahead if there is any "*^"
> SympifyError: Sympify of expression 'could not parse '3***2'' failed, because 
> of exception being raised: SyntaxError: invalid syntax (<string>, line 1)
>
> Am I misusing the parser?
>
> --
> You received this message because you are subscribed to the Google Groups 
> "sympy" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/sympy/d21ef284-37bb-4f4f-93c1-16efbcc24aadn%40googlegroups.com.

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/CAKgW%3D6J3weCeBKcLn7ROQc2OU14MOXu6GJ9HnK3Gb4WpeF_wOg%40mail.gmail.com.

Reply via email to