accelerate-typelits-0.1.0.0: a typesafe way encode accelerate matrices and vectors
Data.Array.Accelerate.TypeLits.System.Random.MWC
Synopsis
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