Hi I am trying to use something like the filter() command, for this purpose mentioned below: I am iterating through all partitions p of a fixed length k ( let's say using Partitions (size, length=k) ) and I have written a function which return true if the partition p has atleast one part repeated. I can use a for loop and get the thing done easily. But is there a way I can use filter() to achieve the same purpose ? I hope my question is clear.
Thanks Vasu -- 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