lol-0.3.0.0: A library for lattice cryptography.

Safe HaskellNone
LanguageHaskell2010

Crypto.Lol.Types.RRq

Description

An implementation of the additive quotient group RR/qZ, where RR denotes the real numbers.

Synopsis

Documentation

data RRq q r Source

The ring RR_q of reals modulo q, using underlying floating type r.

Instances

Unbox r => Vector Vector (RRq k q r) Source 
Unbox r => MVector MVector (RRq k q r) Source 
(Reflects k q r, RealField r, Additive (RRq k q r)) => Reduce r (RRq k q r) Source 
(Fact m, Reflects k q Double) => Protoable (CT m (RRq k q Double)) Source 
(Fact m, Reflects k q Double) => Protoable (RT m (RRq k q Double)) Source 
Eq r => Eq (RRq k q r) Source 
Ord r => Ord (RRq k q r) Source 
Show r => Show (RRq k q r) Source 
Storable r => Storable (RRq k q r) Source 
NFData r => NFData (RRq k q r) Source 
C r => C (RRq k q r) Source 
(Reflects k q r, RealField r, Ord r) => C (RRq k q r) Source 
Elt r => Elt (RRq k q r) Source 
Unbox r => Unbox (RRq k q r) Source 
(Reflects k q r, Reduce r (RRq k q r), Ord r, Ring r) => Lift' (RRq k q r) Source 
(ToInteger i, RealField r, Reflects k q i, Reflects k q r) => Subgroup (ZqBasic k q i) (RRq k q r) Source 
data MVector s (RRq k q r) = MV_RRq (MVector s r) Source 
type ProtoType (CT m (RRq k q Double)) = Kq Source 
type ProtoType (RT m (RRq k q Double)) = Kq Source 
data Vector (RRq k q r) = V_RRq (Vector r) Source 
type LiftOf (RRq k q r) = r Source