Go to the first, previous, next, last section, table of contents.
- base_permutation(L)
-
:
It outputs all permutations of L. BUG; it uses a slow algorithm.
Example:
base_permutation([1,2,3,4]);
Go to the first, previous, next, last section, table of contents.