requireCompatible method

void requireCompatible(
  1. BinaryExtensionField other
)

Throws if other does not describe this same field and basis.

Implementation

void requireCompatible(BinaryExtensionField other) {
  if (!isCompatibleWith(other)) {
    throw RohdHclException(
        'Finite-field operations require matching field descriptors.');
  }
}