dph-seq-0.3: Data structures for Nested Data-Parallel Haskell.ContentsIndex
Data.Array.Parallel.PArray
Synopsis
data family PArray a
class Elt a
class Random a where
randoms :: RandomGen g => Int -> g -> PArray a
randomRs :: RandomGen g => Int -> (a, a) -> g -> PArray a
length :: Elt a => PArray a -> Int
empty :: Elt a => PArray a
replicate :: Elt a => Int -> a -> PArray a
singleton :: Elt a => a -> PArray a
zip :: (Elt a, Elt b) => PArray a -> PArray b -> PArray (a, b)
unzip :: (Elt a, Elt b) => PArray (a, b) -> (PArray a, PArray b)
enumFromTo :: Int -> Int -> PArray Int
fromList :: Elt a => [a] -> PArray a
nf :: Elt a => PArray a -> ()
Documentation
data family PArray a
Lifted parallel arrays
class Elt a
show/hide Instances
Elt Double
Elt Int
(Elt a, Elt b) => Elt ((,) a b)
(Elt a, Elt b, Elt c) => Elt ((,,) a b c)
(Elt a, Elt b, Elt c, Elt d) => Elt ((,,,) a b c d)
(Elt a, Elt b, Elt c, Elt d, Elt e) => Elt ((,,,,) a b c d e)
class Random a where
Methods
randoms :: RandomGen g => Int -> g -> PArray a
randomRs :: RandomGen g => Int -> (a, a) -> g -> PArray a
show/hide Instances
length :: Elt a => PArray a -> Int
empty :: Elt a => PArray a
replicate :: Elt a => Int -> a -> PArray a
singleton :: Elt a => a -> PArray a
zip :: (Elt a, Elt b) => PArray a -> PArray b -> PArray (a, b)
unzip :: (Elt a, Elt b) => PArray (a, b) -> (PArray a, PArray b)
enumFromTo :: Int -> Int -> PArray Int
fromList :: Elt a => [a] -> PArray a
nf :: Elt a => PArray a -> ()
Produced by Haddock version 2.3.0