multiplyInt method
Implementation
GenericGFPoly multiplyInt(int scalar) {
if (scalar == 0) {
return _field.zero;
}
if (scalar == 1) {
return this;
}
final size = _coefficients.length;
final product = Int32List(size);
for (int i = 0; i < size; i++) {
product[i] = _field.multiply(_coefficients[i], scalar);
}
return GenericGFPoly(_field, product);
}