On Monday, 4 April 2016 20:04:04 UTC+2, Aaron Meurer wrote:
>
> You can't render (∫f(x)dx)^2 using the traditional 
> notation with the integral sign and "dx" without using parentheses. 
>

*precedence_traditional(Integral) ==>* same precedence as *Mul*, which is 
*lower* than *Pow*, so it gets parenthesized.
 

> The only way it doesn't is if you use a functional notation, like 
> INT(f(x), x)^2. 
>

*precedence(Integral)* ==> same precedence as *Atom*, which is *higher* 
than *Pow*, so it does *not* get parenthesized.

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to sympy@googlegroups.com.
Visit this group at https://groups.google.com/group/sympy.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/8013b39d-c914-4ad9-be9f-947d3645226b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to