m2m模型翻译
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
444 B

6 months ago
  1. """Implementation of :class:`GMPYFiniteField` class. """
  2. from sympy.polys.domains.finitefield import FiniteField
  3. from sympy.polys.domains.gmpyintegerring import GMPYIntegerRing
  4. from sympy.utilities import public
  5. @public
  6. class GMPYFiniteField(FiniteField):
  7. """Finite field based on GMPY integers. """
  8. alias = 'FF_gmpy'
  9. def __init__(self, mod, symmetric=True):
  10. return super().__init__(mod, GMPYIntegerRing(), symmetric)