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

17 lines
444 B
Python
Raw Normal View History

2024-05-23 01:57:24 +02:00
"""Implementation of :class:`GMPYFiniteField` class. """
from sympy.polys.domains.finitefield import FiniteField
from sympy.polys.domains.gmpyintegerring import GMPYIntegerRing
from sympy.utilities import public
@public
class GMPYFiniteField(FiniteField):
"""Finite field based on GMPY integers. """
alias = 'FF_gmpy'
def __init__(self, mod, symmetric=True):
return super().__init__(mod, GMPYIntegerRing(), symmetric)