finitefield.py

FiniteExtendedFieldElement class

FiniteExtendedFieldElement is a class for an element of F_q. The class is a subclass of FiniteFieldElement.

constructor

FiniteExtendedFieldElement(representative, field)

Create an element of the finite extended field. The argument representative must be an F_p polynomial.
Another argument field mut be an instance of FiniteExtendedField.

methods

getRing()

Return the field contains the element.

inverse()

Return inverse element.

operators

+addition
-subtraction
*multiplication
/division
**, powpowering
==equality
!=not equal
reprrepr string

Last-modified: 2006-03-11 (إع) 15:49:59