sz3

Crates.iosz3
lib.rssz3
version0.1.1+SZ3-3.1.8.1
sourcesrc
created_at2024-05-22 12:36:12.135346
updated_at2024-05-28 14:47:21.671033
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,241
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: 12

cargo fmt