I am trying to make a function "permute" that takes two arguments: 1) and alphabet consisting of a set of symbols and 2) a length being a single integer N.With a safety check check in permute() that stops execution (use the stop() function) with a warning when the number of permutations would exceed 105.
On 29-04-2012, at 13:09, Melinda Harwood wrote:> I am trying to make a function "permute" that takes two arguments: 1) > and alphabet consisting of a set of symbols and 2) a length being a > single integer N.With a safety check check in permute() that stops > execution (use the stop() function) with a warning when the number of > permutations would exceed 105. >H'm. See the thread "Writing a Permutation Function" of yesterday. Berend