Thank you for your reply and help with the work around. I have found a similar problem for interpreting 'pi' and have opened an issue that describes both cases.
cheers On Thursday, October 8, 2020 at 6:09:16 PM UTC-4 [email protected] wrote: > 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/6e93208c-9a6b-4a6a-9d0d-233d9174cec2n%40googlegroups.com.
