Trait p25::coding::galois::PolynomialCoefs [] [src]

pub trait PolynomialCoefs: Default + Copy + Clone + Deref<Target = [P25Codeword]> + DerefMut {
    fn distance() -> usize;

    fn errors() -> usize { ... }
fn syndromes() -> usize { ... }
fn validate(&self) { ... } }

Coefficient storage for a bounded-degree Galois polynomial of a particular code.

Required Methods

The minimum Hamming distance, d, in (n,k,d).

Provided Methods

Maximum number of correctable errors: t.

Number of syndromes: 2t.

Verify the implementer is well-formed.

Implementors