lol-0.2.0.0: A library for lattice cryptography.

Safe HaskellNone
LanguageHaskell2010

Crypto.Lol.Cyclotomic.Tensor.CTensor

Description

Wrapper for a C implementation of the Tensor interface.

Synopsis

Documentation

data CT m r Source

An implementation of Tensor backed by C code.

Instances

Tensor CT Source 
Fact m => Functor (CT m) Source 
Fact m => Applicative (CT m) Source 
Fact m => Foldable (CT m) Source 
Fact m => Traversable (CT m) Source 
Eq r => Eq (CT m r) Source 
Show r => Show (CT m r) Source 
(Storable r, Random (CT' m r)) => Random (CT m r) Source 
(Storable r, Arbitrary (CT' m r)) => Arbitrary (CT m r) Source 
NFData r => NFData (CT m r) Source 
(ZeroTestable r, Storable r, Fact m) => C (CT m r) Source 
(Additive r, Storable r, Fact m, Dispatch r) => C (CT m r) Source 
(GFCtx k fp d, Fact m, Additive (CT m fp)) => C (GF k fp d) (CT m fp) Source 
type TElt CT r Source