Safe Haskell | None |
---|---|
Language | Haskell2010 |
Wrapper for a C implementation of the Tensor
interface.
Documentation
An implementation of Tensor
backed by C code.
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 | |
(Fact m, Ring r, Storable r, CRNS r) => C (CT m r) Source | |
(ZeroTestable r, Storable r, Fact m) => C (CT m r) Source | |
(Additive r, Storable r, CRNS r, Fact m) => C (CT m r) Source | |
type TElt CT r = (Storable r, CRNS r) Source |
Class to dispatch to the C backend for various element types.
zipWrapper, crtWrapper, lgWrapper, divGWrapper, gaussWrapper
CRNS Double Source | |
CRNS Int64 Source | |
(TElt CT (Complex a), Dispatch (Complex a)) => CRNS (Complex a) Source | |
(Storable a, Storable b, CRNS a, CRNS b, CRTrans a, CRTrans b, ZeroTestable a, ZeroTestable b, IntegralDomain a, IntegralDomain b, Random a, Random b) => CRNS (a, b) Source | |
(TElt CT (ZqBasic k q i), Dispatch (ZqBasic k q i)) => CRNS (ZqBasic k q i) Source |
Class to safely match Haskell types with the appropriate C function.
dcrt, dcrtinv, dl, dlinv, dmulgpow, dmulgdec, dginvpow, dginvdec, dadd, dmul, dgcrt, dginvcrt, dgaussdec