Finite Fields

class sage.categories.finite_fields.FiniteFields(s=None)

Bases: sage.categories.category.Category

The category of finite fields

EXAMPLES:

sage: K = FiniteFields()
sage: K
Category of finite fields
sage: FiniteField(17) in K
True
sage: RationalField() in K
False
sage: K(RationalField())
Traceback (most recent call last):
...
TypeError: unable to canonically associate a finite field to Rational Field

TESTS:

sage: TestSuite(FiniteFields()).run()
class ElementMethods
class FiniteFields.ParentMethods
FiniteFields.super_categories()

EXAMPLES:

sage: FiniteFields().super_categories()
[Category of fields, Category of finite enumerated sets]

Previous topic

Finite Enumerated Sets

Next topic

FiniteGroups

This Page