On 12/4/12 6:07 PM, Michael Orlitzky wrote:
On 12/04/2012 07:01 PM, Tom Boothby wrote:
prod() does just what you want.
Duh, thanks. I swear I tried produ<tab>.
Just FYI, the prod() function assumes your multiplication is associative
and often does a balanced multiplication. This can be significantly
faster than the operator.reduce version you mention, but it also can
behave differently in corner cases (like non-associative
multiplication). Do prod? to see details.
Thanks,
Jason
--
You received this message because you are subscribed to the Google Groups
"sage-devel" group.
To post to this group, send email to sage-devel@googlegroups.com.
To unsubscribe from this group, send email to
sage-devel+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel?hl=en.