I would consider this to be a bug in the LaTeX parser. Can you open
an issue for it?
Currently, the latex parser doesn't have very many options. We are
hoping to improve it. For now, though, you can work around this by
manually doing result = result.subs(Symbol('e'), E).
Aaron Meurer
On Thu, Oct 8, 2020 at 4:06 PM subharmony <[email protected]> wrote:
>
> I am trying to use parse_latex to convert e^x into a sympy expression.
> However, 'e' is interpreted as a free symbol rather than a special character.
> Is there a way to indicate that 'e' should be interpreted as exp()?
>
> thank you
>
> --
> 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/eddbfbce-959b-486f-b14a-3a068a3b5875n%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%3D6JnYALVoVKgC0fDNcfPVA0vLDKQR78-XTtf%3DYFvciVsmA%40mail.gmail.com.