Definition 1
A permutation P over a set S with k elements is called a cyclic permutation with offset t if and only if
- the elements of S may be ordered (c < c < ... < c) and the mapping of P may be written as:
- p(c ) = c for i = 1, 2, ..., k − t, and
- p(c) = c for i = k − t + 1, k − t + 2, ..., k.
Note: Every cyclic permutation of definition type 1 will be constructed with exactly gcd (k, t) disjoint cycles of equal length; see cycles and fixed points.
Cyclic permutations of definition type 1 are also called rotations, or circular shifts.
Example:
is a cyclic permutation with offset 2. It may be constructed with gcd(8, 2) = 2 cycles; see image. The used order is: c := 7, c :=6, c = i else.
Read more about this topic: Cyclic Permutation
Famous quotes containing the word definition:
“Beauty, like all other qualities presented to human experience, is relative; and the definition of it becomes unmeaning and useless in proportion to its abstractness. To define beauty not in the most abstract, but in the most concrete terms possible, not to find a universal formula for it, but the formula which expresses most adequately this or that special manifestation of it, is the aim of the true student of aesthetics.”
—Walter Pater (18391894)