Skip to main content

lib_jsl_information/
mod.rs

1//! Information theory and coding for the `lib_jsl` workspace.
2//!
3//! - [`source_coders`]: lossless compression. The entropy coders [`huffman`], [`shannon_fano`]
4//!   and [`arithmetic`] and the dictionary coders [`lz77`], [`lz78`] and [`lzw`] share the
5//!   [`source_coder::SourceCoder`] trait; Gray codes are here too.
6//! - [`lfsr`]: linear feedback shift registers, maximum-length (primitive) polynomials and Gold
7//!   codes.
8//! - [`operators`]: entropy and related measures, the CRC-32 checksums and SHA-256.
9//! - [`forward_error_correction`]: error-correcting codes.
10//!
11//! The source coder modules and the [`source_coder`] trait are also re-exported at the crate root.
12//!
13//! See the book entry [Information theory](https://jwkunz.github.io/lib_jsl/book/information/index.html).
14
15pub mod forward_error_correction;
16pub mod lfsr;
17pub mod operators;
18pub mod source_coders;
19
20pub use source_coders::arithmetic;
21pub use source_coders::huffman;
22pub use source_coders::lz77;
23pub use source_coders::lz78;
24pub use source_coders::lzw;
25pub use source_coders::shannon_fano;
26pub use source_coders::source_coder;