Correct gad (CycG t m (ZqBasic q Int64)) => Correct (gad :: k2) (Cyc t m (ZqBasic q Int64)) Source # | |
Instance detailsDefined in Crypto.Lol.Cyclotomic.Cyc |
(Decompose gad (CycG t m (ZqBasic q Int64)), Reduce (Cyc t m Int64) (Cyc t m (ZqBasic q Int64))) => Decompose (gad :: k2) (Cyc t m (ZqBasic q Int64)) Source # | |
Instance detailsDefined in Crypto.Lol.Cyclotomic.Cyc |
Gadget gad (CycG t m (ZqBasic q z)) => Gadget (gad :: k2) (Cyc t m (ZqBasic q z)) Source # | |
Instance detailsDefined in Crypto.Lol.Cyclotomic.Cyc |
(Reflects q z, ToInteger z) => Reduce Integer (ZqBasic q z) Source # | |
Instance detailsDefined in Crypto.Lol.Types.Unsafe.ZqBasic |
(Reflects q z, IntegralDomain z) => Reduce z (ZqBasic q z) Source # | |
Instance detailsDefined in Crypto.Lol.Types.Unsafe.ZqBasic |
(Reflects q z, ToInteger z, PID z, Enum z, NFData z) => CRTrans Maybe (ZqBasic q z) Source # | |
Instance detailsDefined in Crypto.Lol.Types.Unsafe.ZqBasic |
CRTElt t (ZqBasic q z) => UnCyc t (ZqBasic q z) Source # | |
Instance detailsDefined in Crypto.Lol.Cyclotomic.Cyc |
(Reflects q z, ToInteger z, Ring z) => Correct TrivGad (ZqBasic q z) Source # | |
Instance detailsDefined in Crypto.Lol.Types.Unsafe.ZqBasic |
(Reflects q z, ToInteger z) => Decompose TrivGad (ZqBasic q z) Source # | |
Instance detailsDefined in Crypto.Lol.Types.Unsafe.ZqBasic |
(Reflects q z, ToInteger z) => Gadget TrivGad (ZqBasic q z) Source # | |
Instance detailsDefined in Crypto.Lol.Types.Unsafe.ZqBasic |
(Reflects q z, ToInteger z, Reflects b z) => Correct (BaseBGad b :: Type) (ZqBasic q z) Source # | |
Instance detailsDefined in Crypto.Lol.Types.Unsafe.ZqBasic |
(Reflects q z, ToInteger z, Reflects b z) => Decompose (BaseBGad b :: Type) (ZqBasic q z) Source # | |
Instance detailsDefined in Crypto.Lol.Types.Unsafe.ZqBasic |
(Reflects q z, ToInteger z, RealIntegral z, Reflects b z) => Gadget (BaseBGad b :: Type) (ZqBasic q z) Source # | |
Instance detailsDefined in Crypto.Lol.Types.Unsafe.ZqBasic |
CRTSetCyc (CycG t) (ZqBasic q z) => CRTSetCyc (Cyc t) (ZqBasic q z) Source # | |
Instance detailsDefined in Crypto.Lol.Cyclotomic.Cyc |
ExtensionCyc (CycG t) (ZqBasic q z) => ExtensionCyc (Cyc t) (ZqBasic q z) Source # | |
Instance detailsDefined in Crypto.Lol.Cyclotomic.Cyc |
(Mod (ZqBasic q z), Show z) => Show (ArgType (ZqBasic q z)) Source # | |
Instance detailsDefined in Crypto.Lol.Utils.ShowType |
(Protoable (IZipVector m (ZqBasic q Int64)), ProtoType (IZipVector m (ZqBasic q Int64)) ~ RqProduct, Protoable (IZipVector m b), ProtoType (IZipVector m b) ~ RqProduct) => Protoable (IZipVector m (ZqBasic q Int64, b)) Source # | |
Instance detailsDefined in Crypto.Lol.Types.IZipVector |
(Fact m, Reflects q Int64) => Protoable (IZipVector m (ZqBasic q Int64)) Source # | |
Instance detailsDefined in Crypto.Lol.Types.IZipVector |
(Fact m, Reflects q z, Reduce z b, ZeroTestable z, CRTElt t (ZqBasic q z), C b (Cyc t m b)) => RescaleCyc (Cyc t m) b (ZqBasic q z, b) Source # | rescale up by one additional modulus |
Instance detailsDefined in Crypto.Lol.Cyclotomic.Cyc |
(Fact m, UnCyc t Int64, UnCyc t (ZqBasic q z), IFunctor t, IFElt t Int64, IFElt t (ZqBasic q z)) => FunctorCyc (Cyc t m) Int64 (ZqBasic q z) Source # | |
Instance detailsDefined in Crypto.Lol.Cyclotomic.Cyc |
(Fact m, UnCyc t Double, UnCyc t (ZqBasic q z), IFunctor t, IFElt t Double, IFElt t (ZqBasic q z)) => FunctorCyc (Cyc t m) Double (ZqBasic q z) Source # | |
Instance detailsDefined in Crypto.Lol.Cyclotomic.Cyc |
(ToInteger z, Reflects q z, Reduce z b, Field b, FunctorCyc (Cyc t m) (ZqBasic q z) z, FunctorCyc (Cyc t m) z b, Additive (Cyc t m b), Module b (Cyc t m b)) => RescaleCyc (Cyc t m) (ZqBasic q z, b) b Source # | specialized (faster) rescale-down by a single \(\Z_q\) |
Instance detailsDefined in Crypto.Lol.Cyclotomic.Cyc |
(Fact m, UnCyc t (a, b), UnCyc t (ZqBasic q z), IFunctor t, IFElt t (a, b), IFElt t (ZqBasic q z)) => FunctorCyc (Cyc t m) (a, b) (ZqBasic q z) Source # | |
Instance detailsDefined in Crypto.Lol.Cyclotomic.Cyc |
FoldableCyc (CycG t m) (ZqBasic q z) => FoldableCyc (Cyc t m) (ZqBasic q z) Source # | |
Instance detailsDefined in Crypto.Lol.Cyclotomic.Cyc |
(Fact m, UnCyc t (ZqBasic q z), UnCyc t Int64, IFunctor t, IFElt t (ZqBasic q z), IFElt t Int64) => FunctorCyc (Cyc t m) (ZqBasic q z) Int64 Source # | |
Instance detailsDefined in Crypto.Lol.Cyclotomic.Cyc |
(Fact m, UnCyc t (ZqBasic q z), UnCyc t Double, IFunctor t, IFElt t (ZqBasic q z), IFElt t Double) => FunctorCyc (Cyc t m) (ZqBasic q z) Double Source # | |
Instance detailsDefined in Crypto.Lol.Cyclotomic.Cyc |
(Fact m, Functor (t m), UnCyc t (ZqBasic q z)) => FunctorCyc (Cyc t m) (ZqBasic q z) Integer Source # | |
Instance detailsDefined in Crypto.Lol.Cyclotomic.Cyc |
(Fact m, UnCyc t (ZqBasic q z), UnCyc t (a, b), IFunctor t, IFElt t (ZqBasic q z), IFElt t (a, b)) => FunctorCyc (Cyc t m) (ZqBasic q z) (a, b) Source # | |
Instance detailsDefined in Crypto.Lol.Cyclotomic.Cyc |
RescaleCyc (CycG t m) (ZqBasic q z) (ZqBasic p z) => RescaleCyc (Cyc t m) (ZqBasic q z) (ZqBasic p z) Source # | rescale from one modulus to another |
Instance detailsDefined in Crypto.Lol.Cyclotomic.Cyc |
(Fact m, UnCyc t (ZqBasic q z), UnCyc t (ZqBasic q z), IFunctor t, IFElt t (ZqBasic q z), IFElt t (ZqBasic q z)) => FunctorCyc (Cyc t m) (ZqBasic q z) (ZqBasic q z) Source # | |
Instance detailsDefined in Crypto.Lol.Cyclotomic.Cyc |
(Fact m, UnCyc t (ZqBasic q z), UnCyc t (RRq q r), IFunctor t, IFElt t (ZqBasic q z), IFElt t (RRq q r)) => FunctorCyc (Cyc t m) (ZqBasic q z) (RRq q r) Source # | |
Instance detailsDefined in Crypto.Lol.Cyclotomic.Cyc |
(Fact m, UnCyc t (RRq q r), UnCyc t (ZqBasic q z), IFunctor t, IFElt t (RRq q r), IFElt t (ZqBasic q z)) => FunctorCyc (Cyc t m) (RRq q r) (ZqBasic q z) Source # | |
Instance detailsDefined in Crypto.Lol.Cyclotomic.Cyc |
Eq z => Eq (ZqBasic q z) Source # | |
Instance detailsDefined in Crypto.Lol.Types.Unsafe.ZqBasic |
Eq (CycG t m (ZqBasic q z)) => Eq (Cyc t m (ZqBasic q z)) Source # | |
Instance detailsDefined in Crypto.Lol.Cyclotomic.Cyc |
Ord z => Ord (ZqBasic q z) Source # | |
Instance detailsDefined in Crypto.Lol.Types.Unsafe.ZqBasic |
Show z => Show (ZqBasic q z) Source # | |
Instance detailsDefined in Crypto.Lol.Types.Unsafe.ZqBasic |
Show (CycG t m (ZqBasic q z)) => Show (Cyc t m (ZqBasic q z)) Source # | |
Instance detailsDefined in Crypto.Lol.Cyclotomic.Cyc |
(Reflects q z, Ring z, Random z) => Random (ZqBasic q z) Source # | |
Instance detailsDefined in Crypto.Lol.Types.Unsafe.ZqBasic |
Random (CycG t m (ZqBasic q z)) => Random (Cyc t m (ZqBasic q z)) Source # | |
Instance detailsDefined in Crypto.Lol.Cyclotomic.Cyc |
NFData z => NFData (ZqBasic q z) Source # | |
Instance detailsDefined in Crypto.Lol.Types.Unsafe.ZqBasic |
NFData (CycG t m (ZqBasic q z)) => NFData (Cyc t m (ZqBasic q z)) Source # | |
Instance detailsDefined in Crypto.Lol.Cyclotomic.Cyc |
(Reflects q z, ToInteger z, PID z, Show z) => C (ZqBasic q z) Source # | |
Instance detailsDefined in Crypto.Lol.Types.Unsafe.ZqBasic |
(Reflects q z, ToInteger z, PID z, Show z) => C (ZqBasic q z) Source # | |
Instance detailsDefined in Crypto.Lol.Types.Unsafe.ZqBasic |
(Reflects q z, ToInteger z) => C (ZqBasic q z) Source # | |
Instance detailsDefined in Crypto.Lol.Types.Unsafe.ZqBasic |
Ring (CycG t m (ZqBasic q z)) => C (Cyc t m (ZqBasic q z)) Source # | |
Instance detailsDefined in Crypto.Lol.Cyclotomic.Cyc |
C z => C (ZqBasic q z) Source # | |
Instance detailsDefined in Crypto.Lol.Types.Unsafe.ZqBasic |
ZeroTestable (CycG t m (ZqBasic q z)) => C (Cyc t m (ZqBasic q z)) Source # | |
Instance detailsDefined in Crypto.Lol.Cyclotomic.Cyc |
(Reflects q z, IntegralDomain z) => C (ZqBasic q z) Source # | |
Instance detailsDefined in Crypto.Lol.Types.Unsafe.ZqBasic |
Additive (CycG t m (ZqBasic q z)) => C (Cyc t m (ZqBasic q z)) Source # | |
Instance detailsDefined in Crypto.Lol.Cyclotomic.Cyc |
(Reflects q z, Ring z, Ord z, IntegralDomain z) => Lift' (ZqBasic q z) Source # | |
Instance detailsDefined in Crypto.Lol.Types.Unsafe.ZqBasic |
(Reflects q z, ToInteger z) => Mod (ZqBasic q z) Source # | |
Instance detailsDefined in Crypto.Lol.Types.Unsafe.ZqBasic |
(Reflects q z, Ring z, Enum z) => Enumerable (ZqBasic q z) Source # | |
Instance detailsDefined in Crypto.Lol.Types.Unsafe.ZqBasic |
CosetGaussianCyc (CycG t m (ZqBasic q Int64)) => CosetGaussianCyc (Cyc t m (ZqBasic q Int64)) Source # | uses Double for the intermediate Gaussian samples |
Instance detailsDefined in Crypto.Lol.Cyclotomic.Cyc |
Cyclotomic (CycG t m (ZqBasic q z)) => Cyclotomic (Cyc t m (ZqBasic q z)) Source # | |
Instance detailsDefined in Crypto.Lol.Cyclotomic.Cyc |
(Reflects q z, ToInteger z, Ring (ZqBasic q z)) => CRTEmbed (ZqBasic q z) Source # | Embeds into the complex numbers \( \C \). |
Instance detailsDefined in Crypto.Lol.Types.Unsafe.ZqBasic |
Eq r => ApproxEqual (ZqBasic q r) Source # | |
Instance detailsDefined in Crypto.Lol.Utils.Tests |
(Fact m, CRTElt t Double, Protoable (CycG t m (ZqBasic q z))) => Protoable (Cyc t m (ZqBasic q z)) Source # | |
Instance detailsDefined in Crypto.Lol.Cyclotomic.Cyc |
(Module (ZqBasic q z) (CycG t m (ZqBasic q z)), Ring (ZqBasic q z)) => C (ZqBasic q z) (Cyc t m (ZqBasic q z)) Source # | |
Instance detailsDefined in Crypto.Lol.Cyclotomic.Cyc |
(Ring (GF (ZqBasic q z) d), Module (GF (ZqBasic q z) d) (CycG t m (ZqBasic q z))) => C (GF (ZqBasic q z) d) (Cyc t m (ZqBasic q z)) Source # | |
Instance detailsDefined in Crypto.Lol.Cyclotomic.Cyc |
(Reflects p z, Reflects q z, IntegralDomain z, Field (ZqBasic q z), Field (ZqBasic p z)) => Encode (ZqBasic p z) (ZqBasic q z) Source # | |
Instance detailsDefined in Crypto.Lol.Types.Unsafe.ZqBasic |
(Reflects q z, ToInteger z, Reflects q' z, Ring z) => Rescale (ZqBasic q z) (ZqBasic q' z) Source # | |
Instance detailsDefined in Crypto.Lol.Types.Unsafe.ZqBasic |
(Reflects q Int64, Functor (t m)) => Reduce (Cyc t m Integer) (Cyc t m (ZqBasic q Int64)) Source # | |
Instance detailsDefined in Crypto.Lol.Cyclotomic.Cyc |
Reduce (CycG t m Int64) (CycG t m (ZqBasic q Int64)) => Reduce (Cyc t m Int64) (Cyc t m (ZqBasic q Int64)) Source # | |
Instance detailsDefined in Crypto.Lol.Cyclotomic.Cyc |
(ToInteger z, RealField r, Reflects q z, Reflects q r) => Subgroup (ZqBasic q z) (RRq q r) Source # | |
Instance detailsDefined in Crypto.Lol.Types.Unsafe.RRq |
newtype Cyc t m (ZqBasic q z) Source # | |
Instance detailsDefined in Crypto.Lol.Cyclotomic.Cyc |
type CharOf (ZqBasic p z) Source # | |
Instance detailsDefined in Crypto.Lol.Types.Unsafe.ZqBasic |
type ProtoType (IZipVector m (ZqBasic q Int64, b)) Source # | |
Instance detailsDefined in Crypto.Lol.Types.IZipVector |
type ProtoType (IZipVector m (ZqBasic q Int64)) Source # | |
Instance detailsDefined in Crypto.Lol.Types.IZipVector |
type LiftOf (ZqBasic q z) Source # | |
Instance detailsDefined in Crypto.Lol.Types.Unsafe.ZqBasic |
type ModRep (ZqBasic q z) Source # | |
Instance detailsDefined in Crypto.Lol.Types.Unsafe.ZqBasic |
type DecompOf (ZqBasic q z) Source # | |
Instance detailsDefined in Crypto.Lol.Types.Unsafe.ZqBasic |
type DecompOf (ZqBasic q z) Source # | |
Instance detailsDefined in Crypto.Lol.Types.Unsafe.ZqBasic |
type DecompOf (Cyc t m (ZqBasic q Int64)) Source # | |
Instance detailsDefined in Crypto.Lol.Cyclotomic.Cyc |
type CRTExt (ZqBasic q z) Source # | |
Instance detailsDefined in Crypto.Lol.Types.Unsafe.ZqBasic |
type ProtoType (Cyc t m (ZqBasic q z)) Source # | |
Instance detailsDefined in Crypto.Lol.Cyclotomic.Cyc |