Traktor/myenv/Lib/site-packages/sympy/polys/domains/pythonfinitefield.py

17 lines
460 B
Python
Raw Permalink Normal View History

2024-05-26 05:12:46 +02:00
"""Implementation of :class:`PythonFiniteField` class. """
from sympy.polys.domains.finitefield import FiniteField
from sympy.polys.domains.pythonintegerring import PythonIntegerRing
from sympy.utilities import public
@public
class PythonFiniteField(FiniteField):
"""Finite field based on Python's integers. """
alias = 'FF_python'
def __init__(self, mod, symmetric=True):
return super().__init__(mod, PythonIntegerRing(), symmetric)