Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
sagemath
GitHub Repository: sagemath/sagelib
Path: blob/master/sage/rings/finite_rings/all.py
4097 views
1
"""
2
Finite Fields.
3
"""
4
5
#*****************************************************************************
6
# Copyright (C) 2010 David Roe <[email protected]>
7
# William Stein <[email protected]>
8
#
9
# Distributed under the terms of the GNU General Public License (GPL)
10
#
11
# This code is distributed in the hope that it will be useful,
12
# but WITHOUT ANY WARRANTY; without even the implied warranty of
13
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14
# General Public License for more details.
15
#
16
# The full text of the GPL is available at:
17
#
18
# http://www.gnu.org/licenses/
19
#*****************************************************************************
20
21
from constructor import (FiniteField, is_FiniteField, is_PrimeFiniteField,
22
conway_polynomial, exists_conway_polynomial)
23
GF = FiniteField
24
25
from element_base import FinitePolyExtElement as FiniteFieldElement # for backward compatibility; is this needed?
26
from element_base import is_FiniteFieldElement
27
28
29