accelerate-typelits-0.1.0.0: a typesafe way encode accelerate matrices and vectors

Safe HaskellNone
LanguageHaskell2010

Data.Array.Accelerate.TypeLits.System.Random.MWC

Synopsis

Documentation

rndMatrixWith :: forall m n e. (KnownNat m, KnownNat n, Elt e) => (GenIO -> IO e) -> IO (AccMatrix m n e) Source

mwc random provides a fast and "statistically-safe" random distribution to work with this

rndVectorWith :: forall n e. (KnownNat n, Elt e) => (GenIO -> IO e) -> IO (AccVector n e) Source

mwc random provides a fast and "statistically-safe" random distribution to work with this