operator + method

  1. @override
GfLogic operator +(
  1. dynamic other
)
override

Adds other in GF(2^m), implemented as bitwise XOR.

Implementation

@override
GfLogic operator +(dynamic other) {
  final compatible = _compatibleOperand(other);
  return GfLogic.of(this ^ compatible, field: field);
}