public class IntScramble extends Object
int
data.Modifier and Type | Method and Description |
---|---|
static void |
scramble(int[] data,
int offset,
int[] permutationTable)
Permute the data in the table to bit-reversed order.
|
public static void scramble(int[] data, int offset, int[] permutationTable)
The permutation table argument should contain pairs of indexes that indicate array elements whose contents are swapped.
data
- The array to permute.offset
- The offset within the array to permute.permutationTable
- Table of indexes indicating, which elements in the data
are to be swapped.Copyright © 2018. All rights reserved.