I have 2 commits in branch 1923 at github.smichr that are in review.

sift is a utility function that I have found very useful for getting
expressions sifted into lists. This is a common idiom that occurs in
sympy and sift could be used to streamline code a bit (but I didn't
make those changes with this commit).

count_ops also when through a major overhaul and has been reduced to a
single function and single wrapper. The keyword symbolic has been
changed to visual. It also returns an integer by default rather than
an expression like 1 + ADD. This makes it a great candidate for
measuring expression lengths:

>>> (x+1).count_ops()
1
>>> (x**2 + 1).count_ops()
2

-- 
You received this message because you are subscribed to the Google Groups 
"sympy-patches" group.
To post to this group, send email to sympy-patc...@googlegroups.com.
To unsubscribe from this group, send email to 
sympy-patches+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sympy-patches?hl=en.

Reply via email to