in reply to Re: Next permutation
in thread Next permutation
That is called a cross product :-)
It doesn't give the permutation ( 3 * 2 * 1 = 3! ) (The permutation of 3 objects gives 6 tuples. The cross product gives 3 * 3 * 3 = 27 tuples).
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Next permutation
by Marshall (Canon) on Feb 25, 2019 at 21:46 UTC | |
by BrowserUk (Patriarch) on Feb 25, 2019 at 22:13 UTC | |
by aartist (Pilgrim) on Feb 26, 2019 at 03:30 UTC |
In Section
Seekers of Perl Wisdom