Does sympy really spell simplify without the L?
On Thursday, November 27, 2014 5:29:16 AM UTC-8, Francesco Bonazzi wrote:
>
>
>
> On Thursday, November 27, 2014 2:28:11 PM UTC+1, Francesco Bonazzi wrote:
>>
>>
>> your_mathematica_expr = '((-2x+5)(4x-1)-4(-x^2+5x+1))/(4x-1)^2'
>> new_math_expr = re.sub("([0-9])\ *([a-zA-Z])", "\\1 * \\2",
>> your_mathematica_expr)
>> M(new_math_expr)
>>
>>
> Remember *import re* to use the *re* module.
>
--
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 post to this group, send email to [email protected].
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/9c159fdb-6f13-4c33-a4fa-4d2caebc9de4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.