dph-seq-0.4.0: Data structures for Nested Data-Parallel Haskell.Source codeContentsIndex
Data.Array.Parallel.PArray
Synopsis
data 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
(!:) :: Elt a => PArray a -> Int -> 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 -> ()
fromUArrPA' :: Scalar a => Array a -> PArray a
Documentation
data PArray a Source
Lifted parallel arrays
show/hide Instances
(Elt a, Show a) => Show (PArray a)
class Elt a Source
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 whereSource
Methods
randoms :: RandomGen g => Int -> g -> PArray aSource
randomRs :: RandomGen g => Int -> (a, a) -> g -> PArray aSource
show/hide Instances
length :: Elt a => PArray a -> IntSource
empty :: Elt a => PArray aSource
replicate :: Elt a => Int -> a -> PArray aSource
singleton :: Elt a => a -> PArray aSource
(!:) :: Elt a => PArray a -> Int -> aSource
zip :: (Elt a, Elt b) => PArray a -> PArray b -> PArray (a, b)Source
unzip :: (Elt a, Elt b) => PArray (a, b) -> (PArray a, PArray b)Source
enumFromTo :: Int -> Int -> PArray IntSource
fromList :: Elt a => [a] -> PArray aSource
nf :: Elt a => PArray a -> ()Source
fromUArrPA' :: Scalar a => Array a -> PArray aSource
Produced by Haddock version 2.6.1