anuejn / sz3-rs

rust bindings for the SZ3 compressor

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

sz3-rs

High level bindings to the SZ3 lossy floating point compressor.

Usage

let data = vec![0; 64 * 64 * 64];
let data = DimensionedData::build(&data)
    .dim(64)?
    .dim(64)?
    .remainder_dim()?;
let config = Config::new(ErrorBound::Absolute(0.02));
let compressed = compress_with_config(&data, &config);
let decompressed = decompress::<f32, _>(&*compressed);

About

rust bindings for the SZ3 compressor


Languages

Language:C++ 99.8%Language:Rust 0.2%Language:MATLAB 0.0%