fadingjava has asked for the wisdom of the Perl Monks concerning the following question:
now for each of these arrays i want to generate the permutation of all the elements of that array taken 2 at a time. likesay @AoA = ([0,1] ,[8,9,10,11])
and so on... cant figure out how to do this? if somebody has written something like this or has any suggestions on possible approach, please help0,1 1,0 8,9 9,8 8,10 10,8 8,11 11,8
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: permutations of all number in a given set
by kvale (Monsignor) on Apr 22, 2004 at 18:17 UTC | |
|
Re: permutations of all number in a given set
by DamnDirtyApe (Curate) on Apr 22, 2004 at 17:21 UTC | |
|
Re: permutations of all number in a given set
by Anomynous Monk (Scribe) on Apr 22, 2004 at 17:50 UTC | |
|
Re: permutations of all number in a given set
by ysth (Canon) on Apr 22, 2004 at 17:24 UTC |