Index of /~peter/projects/math/combinations

Icon  Name                    Last modified      Size  Description
[DIR] Parent Directory - [TXT] README.html 17-May-2003 01:17 253 [TXT] combinations.py 18-May-2003 23:11 492 [TXT] erlich.py 17-May-2003 02:07 913 [TXT] internet.py 16-Jul-2003 17:20 1.5K [TXT] lcomb.py 19-May-2003 00:02 403 [TXT] lexicographic.py 16-Jul-2003 17:21 786 [TXT] plain_changes.py 16-Jul-2003 17:19 1.0K [TXT] rec_gen.py 22-Oct-2003 16:58 329 [TXT] recursive.py 16-Jul-2003 17:22 452

I keep needing to write code that generates all combinations of things from bins, or all permutations of a list. So here is some code that does it that I got off the internet, as well as my own stab at the problem - written in Python of course!