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
Provided Methods
fn errors() -> usize
Maximum number of correctable errors: t.
fn syndromes() -> usize
Number of syndromes: 2t.
fn validate(&self)
Verify the implementer is well-formed.