Class FloatCompressor


  • public class FloatCompressor
    extends Object
    Implements the floating point compression scheme described here: http://www.vldb.org/pvldb/vol8/p1816-teller.pdf
    • Constructor Detail

      • FloatCompressor

        public FloatCompressor()
    • Method Detail

      • compress

        public static void compress​(float[] fa,
                                    int n,
                                    ByteBuffer bb)
        *compress the first n elements from the array of floats into the ByteBuffer
      • decompress

        public static float[] decompress​(ByteBuffer bb,
                                         int n)
      • compress

        public static void compress​(float[] fa,
                                    ByteBuffer bb)