Spaces:
Running
Running
File size: 437 Bytes
6a86ad5 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
"""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):
super().__init__(mod, GMPYIntegerRing(), symmetric)
|