Copyright | (c) Eric Crockett 2011-2017 Chris Peikert 2011-2017 |
---|---|
License | GPL-2 |
Maintainer | ecrockett0@email.com |
Stability | experimental |
Portability | POSIX \( \def\Z{\mathbb{Z}} \) |
Safe Haskell | None |
Language | Haskell2010 |
A class for integers mod a prime power.
- class (PrimeField (ZpOf zq), Ring zq) => ZPP zq where
- type ZpOf zq
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) => ZPP (ZqBasic PrimePower pp z) Source # | |