evaluate method

bool evaluate({
  1. required bool x,
})

Evaluates this polynomial for x in GF(2).

Implementation

bool evaluate({required bool x}) =>
    x ? _hasOddParity(coefficients) : coefficient(0);