GFPoly constructor

GFPoly(
  1. GaloisField gf,
  2. List<int> coefficients
)

Implementation

GFPoly(this.gf, this.coefficients) {
  while (coefficients.length > 1 && coefficients[0] == 0) {
    coefficients = coefficients.sublist(1);
  }
}