The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information.... |
Home ![]() ![]() ![]() ![]() |
|||||||||
See also: TCombination, NextCombination | |||||||||
NextPermutation |
|||||||||
The function NextPermutation successively calculates all possible permutations of non-repeating digits. The width of the permutation (= the number of 'digits' in the permutation) is defined by the element at address 0 of the array CurrentPermut (which can be seen as a string of 'digits' with its length byte at the position 0). NextPermutation returns a TRUE value as long as there are further permutations available.
|