Iterator - Maple Programming Help

Home : Support : Online Help : Mathematics : Discrete Mathematics : Combinatorics : Iterator : Mixed Radix : Iterator/MixedRadix

Iterator

 subpackage for mixed-radix tuples

Description

 • The MixedRadix subpackage exports procedures for operating on mixed-radix tuples.
 • A mixed-radix tuple is a sequence of integers $\left({a}_{1},{a}_{2},\dots ,{a}_{n}\right)$, with $0\le {a}_{k}<{m}_{k}$, for $1\le k\le n$, where the radices are the positive integers $\left({m}_{1},\dots ,{m}_{n}\right)$.

Exports

 convert ordinary mixed-radix tuple to reflected Gray code compute the rank of an ordinary mixed-radix tuple convert reflected mixed-radix Gray code to ordinary tuple compute the ordinary mixed-radix tuple of a given rank

Compatibility

 • The Iterator[MixedRadix] package was introduced in Maple 2016.
 • For more information on Maple 2016 changes, see Updates in Maple 2016.