LaTeX expresentation as input in SymPy

59 views
Skip to first unread message

redstone-cold

unread,
Oct 24, 2014, 9:23:20 AM10/24/14
to sy...@googlegroups.com
I have found this function
latex(expr, **settings):
can Convert the given expression to LaTeX representation,but is there any function can take LaTeX expresentation so that it can be used in SymPy ?

i.e. is there any function can take 
\dfrac{2x+2}{2x^3-3x^2+3x+3}
as input in SymPy ?


Aaron Meurer

unread,
Oct 24, 2014, 5:27:48 PM10/24/14
to sy...@googlegroups.com
We don't have it but we do want it. See https://github.com/sympy/sympy/issues/5418. Note that parse_expr can already handle the basic stuff (like implicit multiplication). 

Aaron Meurer



--
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 sympy+un...@googlegroups.com.
To post to this group, send email to sy...@googlegroups.com.
Visit this group at http://groups.google.com/group/sympy.
To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/6eb3ee30.1f4f9.14942533b70.Coremail.redstone-cold%40163.com.
For more options, visit https://groups.google.com/d/optout.

Richard Fateman

unread,
Oct 26, 2014, 11:54:30 AM10/26/14
to sy...@googlegroups.com
Demo ware by necessity.   How can you distinguish  (d*y)/ (d*x)    from diff(y,x)  written as \frac{dy}{dx} ?
And it gets worse as notation gets more subtle.
sure you can do a+b*c.
Why not allow speech input?
RJF

Francesco Bonazzi

unread,
Oct 27, 2014, 5:03:39 AM10/27/14
to sy...@googlegroups.com

On Sunday, October 26, 2014 4:54:30 PM UTC+1, Richard Fateman wrote:
Demo ware by necessity.   How can you distinguish  (d*y)/ (d*x)    from diff(y,x)  written as \frac{dy}{dx} ?
And it gets worse as notation gets more subtle.
sure you can do a+b*c.
Why not allow speech input?

Speech input would be great, but hard work to achieve it.
Reply all
Reply to author
Forward
0 new messages