Struct p25::coding::bmcf::ErrorLocator   
                   
                       [−]
                   
               [src]
pub struct ErrorLocator<P: PolynomialCoefs> { /* fields omitted */ }Finds the error location polynomial Λ(x) from the syndrome polynomial s(x).
This uses Hankerson et al's version of the Berlekamp-Massey algorithm, with the result being Λ(x) = p2t(x) = σR(x).
Methods
impl<P: PolynomialCoefs> ErrorLocator<P>[src]
pub fn new(syn: Polynomial<P>) -> ErrorLocator<P>[src]
Construct a new ErrorLocator from the given syndrome polynomial s(x).
pub fn build(self) -> Polynomial<P>[src]
Construct the error locator polynomial Λ(x).