
744 Corel Painter X3 Getting Started Guide
The left operand is extended to a length that is an integer multiple of the right operand's
length.
Then the left operand is permuted in chunks of the right operand's length. The
organization of the permutation pattern is used to reorganize the elements in each
chunk of the pattern.
For example, a permutation of 312 puts “the third element first, the first element
second and the second element third.”
PBOX
The left operand is a pattern of any length. The right operand is a permutation vector.
Its length will be adjusted, if necessary, (by trimming or repeating) to equal the length
of the left operand.
Then, the organization of the permutation pattern is used to reorganize the elements of
the pattern.
Pbox maintains the length of the left operand pattern.
UPDOWN
The left and right operands are both patterns of any length. If either operand is shorter
than the other, it is extended (via repeating) to exactly the length of the other operand.
Example Expansion
123456787654321 permute 312 312645778465132
1-8 perm 1324 13245768
Operator usage Short form
<pattern> pbox <permutation> none
Example Expansion
123456787654321 pbox 21436587 214365878563412
1-'8 pbox 4-18-5 4321876543218765
Operator usage Short form
<pattern> updown <pattern> <>
Comentarios a estos manuales