Permute 0.1

Permute project is a Python function that computes all permutations of the elements in a list of lists.
Permute project is a Python function that computes all permutations of the elements in a list of lists. This is also known as the Cartesian product.

Various ways of permuting a list of lists (a.k.a. Cartesian product). The permutation is returned as a list of tuples.

For example:

permute( [ [1,2], [3,4,5] ] ) gives
[(1,3), (2,3), (1,4), (2,4), (1,5), (2,5)]

last updated on:
November 21st, 2007, 20:22 GMT
price:
FREE!
developed by:
Andrew Sterian
license type:
GPL (GNU General Public License) 
category:
ROOT \ Utilities

FREE!

In a hurry? Add it to your Download Basket!

user rating 7

UNRATED
3.1/5
 

0/5

1 Screenshot
Permute

Add your review!

SUBMIT