[SciPy-user] Finding all combinations of numbers

Roger Herikstad roger.herikstad@gmail....
Sat Jan 12 18:46:22 CST 2008

Hi all, I was wondering if there is a functions in scipy for generating all
possible combinations of a set of numbers? E.g [1,2,3] ->
[[1,2],[1,3],[2,3],[1,2,3]]. Basically I'm looking for a function that can
generate all unique pairs, triplets, quadruples, etc, etc. Any thoughts?

~ Roger
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://projects.scipy.org/pipermail/scipy-user/attachments/20080113/ee41a082/attachment.html 

More information about the SciPy-user mailing list