java.lang.Object
org.yamcs.parameterarchive.FloatCompressor
Implements the floating point compression scheme described here:
http://www.vldb.org/pvldb/vol8/p1816-teller.pdf
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcompress(float[] fa, int n, ByteBuffer bb) *compress the first n elements from the array of floats into the ByteBufferstatic voidcompress(float[] fa, ByteBuffer bb) static float[]decompress(ByteBuffer bb, int n)
-
Constructor Details
-
FloatCompressor
public FloatCompressor()
-
-
Method Details
-
compress
*compress the first n elements from the array of floats into the ByteBuffer -
decompress
-
compress
-