Safe Haskell | None |
---|---|
Language | Haskell2010 |
A class for integers mod a prime power.
- class (PrimeField (ZpOf zq), Ring zq) => ZPP zq where
Documentation
class (PrimeField (ZpOf zq), Ring 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 |