Hey guys,
I'm reading through the SymPy code and, well, it's somewhat overwhelming if
you're new to the project because there's so much going on. (That's a good
thing too - it means its robust!)
Can someone help explain how this works?
>>> from sympy import *
>>> x = Symbol("x")
>>> my_expression = sin(x)**2 + 2*sin(x) + 1
>>> my_expression.factor()
(1 + sin(x))**2
>>>
For instance, what data structures happen when I create my_expression, what
happens when I factor it, etc. A high-level walk through would help. I see
there's stuff going on at polytools.py, and I think _symbolic_factor gets
called. It's just confusing to keep everything in my head when I don't yet
have a high level understanding of how sympy expressions and what not
actually work.
Also, the new quantum mechanics stuff looks really cool. Wish I had had
that a few years ago!
Thanks,
Jeff
--
Jeff Pickhardt
(650) 530-0036
[email protected]
--
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.