Skip to main content

Crate fountain_engine

Crate fountain_engine 

Source
Expand description

Fountain Code Core Library

This library provides the core algorithms, traits, and data structures for fountain code encoding and decoding.

Re-exports§

pub use algebra::*;
pub use decoder::*;
pub use encoder::*;
pub use traits::*;
pub use types::*;

Modules§

algebra
Finite field arithmetic, linear algebra, and binary vector utilities. Algebraic primitives for fountain code arithmetic.
decoder
Fountain code decoder (BP + inactivation + Gaussian elimination).
encoder
Fountain code encoder with optional precoding.
traits
Trait definitions for code schemes, data operators, LDPC, and HDPC precodes. Trait abstractions for fountain code components.
types
Core type definitions: code parameters, operation variants, and status enums.

Macros§

lu_solve
Macro for LU solve operations that works with any DataManager implementation This macro implements forward and backward substitution for solving Ax = b in-place where A is an LU-decomposed matrix and b are the target vectors.
lu_solve_incr
Incremental LU-solve macro using a column permutation vector q.

Structs§

DataManager
Interface between the encoder/decoder and the underlying data storage.