Function numpress::numpress_compress
source · Expand description
High-level compressor for Numpress.
The recommended scaling factor is DEFAULT_SCALING
, and the optimal scaling
factor can be calculated via optimal_scaling
.
data
- Slice of doubles to be encoded.scaling
- Scaling factor used for getting the fixed point representation.