Parallel and sequential in-place permuting and perfect shuffling using involutions

Computer Science – Data Structures and Algorithms

Scientific paper

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

Scientific paper

We show that any permutation of ${1,2,...,N}$ can be written as the product of two involutions. As a consequence, any permutation of the elements of an array can be performed in-place in parallel in time O(1). In the case where the permutation is the $k$-way perfect shuffle we develop two methods for efficiently computing such a pair of involutions. The first method works whenever $N$ is a power of $k$; in this case the time is O(N) and space $O(\log^2 N)$. The second method applies to the general case where $N$ is a multiple of $k$; here the time is $O(N \log N)$ and the space is $O(\log^2 N)$. If $k=2$ the space usage of the first method can be reduced to $O(\log N)$ on a machine that has a SADD (population count) instruction.

No associations

LandOfFree

Say what you really think

Search LandOfFree.com for scientists and scientific papers. Rate them and share your experience with other people.

Rating

Parallel and sequential in-place permuting and perfect shuffling using involutions does not yet have a rating. At this time, there are no reviews or comments for this scientific paper.

If you have personal experience with Parallel and sequential in-place permuting and perfect shuffling using involutions, we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Parallel and sequential in-place permuting and perfect shuffling using involutions will most certainly appreciate the feedback.

Rate now

     

Profile ID: LFWR-SCP-O-652519

  Search
All data on this website is collected from public sources. Our data reflects the most accurate information available at the time of publication.