For Aaron's case the expression is turned into
sin (Symbol )**(Integer (2 )('x' ))*Symbol ('x' )
For the original case the expression is turned into
Integer (10 )*sin (Symbol )**(Integer (120 )('x' ))*Symbol ('x' )**Integer
(2 )+Integer (3 )*Symbol ('x' )*Symbol ('y' )*Symbol ('z' )+tan
A simpler example is sin**(2*x) x.
Aaron Meurer
On Thu, Feb 19, 2015 at 1:44 AM, Paul Royik distantjob...@gmail.com wrote:
Just noticed, that official example works:
from sympy.parsing.sympy_parser import (parse_expr,
standard_transformations, implicit_multiplication_application)
Just noticed, that official example works:
from sympy.parsing.sympy_parser import (parse_expr,
standard_transformations, implicit_multiplication_application)
parse_expr(10sin**2 x**2 + 3xyz + tan
theta,transformations=(standard_transformations
+(implicit_multiplication_application,)))
But