Class FloatScramble


  • public class FloatScramble
    extends java.lang.Object
    Functions to perform bit-reverse ordering of float data.
    Version:
    1.0
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private FloatScramble()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void scramble​(float[] data, int offset, int[] permutationTable)
      Permute the data in the table to bit-reversed order.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • FloatScramble

        private FloatScramble()
    • Method Detail

      • scramble

        public static void scramble​(float[] data,
                                    int offset,
                                    int[] permutationTable)
        Permute the data in the table to bit-reversed order.

        The permutation table argument should contain pairs of indexes that indicate array elements whose contents are swapped.

        Parameters:
        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.