lol-0.0.1.0: A library for lattice cryptography.

Safe HaskellNone
LanguageHaskell2010

Crypto.Lol.Cyclotomic.Tensor.RepaTensor

Description

A pure, repa-based implementation of the Tensor interface.

Synopsis

Documentation

data RT m r Source

An implementation of Tensor backed by repa.

Instances

Tensor RT Source 
Fact m => Functor (RT m) Source 
Fact m => Applicative (RT m) Source 
Fact m => Foldable (RT m) Source 
Fact m => Traversable (RT m) Source 
Eq r => Eq (RT m r) Source 
Show r => Show (RT m r) Source 
(Unbox r, Random (Arr m r)) => Random (RT m r) Source 
(Unbox r, Arbitrary (Arr m r)) => Arbitrary (RT m r) Source 
NFData r => NFData (RT m r) Source 
(Fact m, Ring r, Unbox r, Elt r) => C (RT m r) Source 
(Fact m, ZeroTestable r, Unbox r, Elt r) => C (RT m r) Source 
(Fact m, Additive r, Unbox r, Elt r) => C (RT m r) Source 
type TElt RT r = (IntegralDomain r, ZeroTestable r, Eq r, Random r, NFData r, Unbox r, Elt r) Source