Safe Haskell | None |
---|---|
Language | Haskell2010 |
A class for integers mod a prime power.
Documentation
class (PrimeField (ZPOf zq), Ring zq, Ring (ZPOf zq)) => ZPP zq where Source
Represents integers modulo a prime power.
modulusZPP :: Tagged zq PP Source
The prime and exponent of the modulus.
liftZp :: ZPOf zq -> zq Source
Lift from Z_p
to a representative.
(PPow pp, (~) * zq (ZqBasic PrimePower pp z), PrimeField (ZPOf zq), Ring zq, Ring (ZPOf zq)) => ZPP (ZqBasic PrimePower pp z) Source |