Hello ! I have this question !

Python automatically evaluates *10**2 to 100 *or say* (10*10) to 100* . 

 Same is the case where our expression is , for example: *(2*log(x))**2*, 
it will become* 4*log(x_)**2  *
 
or 

*(10*x)**2 becomes 100*x_**2                  (Also, how is x different 
from x_ ?) *

Is there anyway,we can stop this evaluation and write these expressions in 
non-evaluated form.

What I thought of was to take them as Strings, and use Evaluate= False, 
with sympify . But, if this expression is written in Sympy, like expr= 
(10*x)**2, 
it will automatically get evaluated and expr = 100*x_**2.

Please let me know the possible solution ! 

Thanks,
Ankit

-- 
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 https://groups.google.com/group/sympy.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/0fe38ea6-3e74-4326-9c78-119b9466e457%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to