Class FloatCompressor

java.lang.Object
org.yamcs.parameterarchive.FloatCompressor

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

    • FloatCompressor

      public FloatCompressor()
  • Method Details

    • 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)