Re: [sympy] how to convert latex expression into sympy expression?

2017-06-22 Thread Richard Fateman
see, for example, https://people.eecs.berkeley.edu/~fateman/papers/mly-psmath.pdf for a discussion. It is really a consideration of "optical character recognition" of math equations, where the characters are mostly perfectly represented, and the spacing is perfectly represented. But what is the

Re: [sympy] how to convert latex expression into sympy expression?

2017-06-14 Thread Jason Moore
Here is one option: https://github.com/augustt198/latex2sympy moorepants.info +01 530-601-9791 On Wed, Jun 14, 2017 at 12:22 AM, Christophe BAL (via GMAIL) < projet...@gmail.com> wrote: > Hello. > > Because LaTeX is not mathmetically semantic, you can't have a perfect > converter from LaTeX to S

Re: [sympy] how to convert latex expression into sympy expression?

2017-06-14 Thread Christophe BAL (via GMAIL)
Hello. Because LaTeX is not mathmetically semantic, you can't have a perfect converter from LaTeX to SymPy. Le 14/06/2017 à 06:09, 821673...@qq.com a écrit : I have a lot of latex expression, such as: a+b+c=0 abc>0 \frac{1}{a}+\frac{1}{b}+\frac{1}{c} \left({a+b+c}\right)^2=a^2+b^2+c^2+2ab+

[sympy] how to convert latex expression into sympy expression?

2017-06-13 Thread 821673373
I have a lot of latex expression, such as: a+b+c=0 abc>0 \frac{1}{a}+\frac{1}{b}+\frac{1}{c} \left({a+b+c}\right)^2=a^2+b^2+c^2+2ab+2bc+2ac=0 I want a function, let's say latex2sympy(latex), to convert latex to sympy expression? how can i do that? -- You received this message because you are s