sz3

Crates.iosz3
lib.rssz3
version0.2.0+SZ3-3.2.1
sourcesrc
created_at2024-05-22 12:36:12.135346
updated_at2024-12-09 16:15:37.248434
descriptionHigh level bindings to the SZ3 lossy floating point compressor.
homepage
repositoryhttps://github.com/apertus-open-source-cinema/sz3-rs/
max_upload_size
id1247889
size34,128
cratesio-publishers (github:apertus-open-source-cinema:cratesio-publishers)

documentation

README

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);
Commit count: 16

cargo fmt