finitefield.py

FinitePrimeFieldElement class

The class provides elements of finete prime fields. It is a subclass of FiniteFieldElement and integerResidueClass.IntegerResidueClass.

constructor

FinitePrimeFieldElement(representative, modulus)

modulus must be a prime.

methods

getRing()

Return an instance of FinitePrimeField to which the element belongs.

order()

Find and return the order of the element in the multiplicative group of F_p.
new in 0.4.1

operators

reprrepr string
strstr string

Other operators and methods are inherited from IntegerResidueClass.


Last-modified: 2005-10-26 (¿å) 16:12:36