Dear all:
Having watched Andrej's Scipy 2009 address I feel empowered to post my
comments here! But, please ignore if you feel I am being too nitty-
gritty...
I have started using sympy and I love it! Here is one way in which
sympy could potentially be improved. I had trouble simplifying a sqrt
expression and I will give a simple example to show what I mean. If I
run the following code:
BEGIN CODE
from sympy import *
y=Symbol('y',positive=True)
q=Symbol('q',positive=True)
g=sqrt(1*y**2+q*y**2)
#g=sqrt(collect(1*y**2+q*y**2,y))
pprint(simplify(g))
END CODE
I had hoped python would pull out the factor y but it does not. If,
instead, I uncomment the commented g line and I comment the other one
it works. Perhaps you programmed it to work this way but (in my mind)
it puts more work on the user.
Anyway, encouraged by your speech, I thought I should post it.
Keep up the good work!
Cheers, Albert
--
You received this message because you are subscribed to the Google Groups
"sympy" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sympy?hl=en.