On 10/3/10 5:32 PM, Philipp Schneider wrote:
Hi,
(...)
In my next try I used FiniteEnumeratedSet and cartesian_product, but
this is not iterable.
Is there any other way to do this?
there is a sage function called "cartesian_product_iterator".
You can also use the python function for this:
http://docs.python.org/library/itertools.html#itertools.product
Thanks,
Jason
--
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org