inverse method

int inverse(
  1. int a
)

@return multiplicative inverse of a

Implementation

int inverse(int a) {
  if (a == 0) {
    throw ArgumentError('Arithmetic');
  }
  return _expTable[_size - _logTable[a] - 1];
}