multiply method

QrPolynomial multiply(
  1. QrPolynomial e
)

Implementation

QrPolynomial multiply(QrPolynomial e) {
  final List<int> foo = Uint8List(length + e.length - 1);

  for (var i = 0; i < length; i++) {
    for (var j = 0; j < e.length; j++) {
      foo[i + j] ^= qr_math.gexp(qr_math.glog(this[i]) + qr_math.glog(e[j]));
    }
  }

  return QrPolynomial(foo, 0);
}