mksqlite  2.5
A MATLAB interface to SQLite
Classes | Macros
number_compressor.hpp File Reference

Compression of numeric (real number) arrays. More...

#include "blosc/blosc.h"
#include "locale.hpp"
+ Include dependency graph for number_compressor.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  NumberCompressor
 compressor class More...
 

Macros

#define COMPRESSOR_DEFAULT_ID   BLOSC_DEFAULT_ID
 Which compression method is to use, if its name is empty.
 
blosc IDs
#define BLOSC_LZ4_ID   BLOSC_LZ4_COMPNAME
 
#define BLOSC_LZ4HC_ID   BLOSC_LZ4HC_COMPNAME
 
#define BLOSC_DEFAULT_ID   BLOSC_BLOSCLZ_COMPNAME
 
#define QLIN16_ID   "QLIN16"
 
#define QLOG16_ID   "QLOG16"
 

Detailed Description

Compression of numeric (real number) arrays.

Using "blosc" as lossless compressor and a lossy quantising compressor

Authors
Martin Kortmann mail@.nosp@m.kort.nosp@m.mann..nosp@m.de, Andreas Martin andim.nosp@m.arti.nosp@m.n@use.nosp@m.rs.s.nosp@m.ource.nosp@m.forg.nosp@m.e.net
Version
2.5
Date
2008-2017
Precondition
Warning
Bug:

The compressor squeezes an array of numeric values using one of the available packing algorithms (blosc, lc4, qlin16, qlog16). qlin16 and qlog16 are lossy compression algorithms and only available for values of type double. Although BLOSC is designed to compress doubles, it is allowed to use it with other data then doubles. The QLIN16 and QLOG16 algorithms do not!

Definition in file number_compressor.hpp.