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
460 B

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