dph-par-0.3: Data structures for Nested Data-Parallel Haskell.Source codeContentsIndex
Data.Array.Parallel.Prelude
Synopsis
mapP
filterP
combineP :: [:a:] -> [:a:] -> [:Int:] -> [:a:]
emptyP
zipWithP
!:
lengthP
concatP
zipP
unzipP
singletonP
+:+
replicateP
fromPArrayP :: PArray a -> [:a:]
fromPArrayPA :: PA a -> PArray a :-> PArray a
toPArrayP :: [:a:] -> PArray a
toPArrayPA :: PA a -> PArray a :-> PArray a
fromNestedPArrayP :: PArray (PArray a) -> [:[:a:]:]
fromNestedPArrayPA :: PA a -> PArray (PArray a) :-> PArray (PArray a)
Bool (False, True)
otherwise :: Bool
(&&) :: Bool -> Bool -> Bool
(||) :: Bool -> Bool -> Bool
not :: Bool -> Bool
andP :: [:Bool:] -> Bool
orP :: [:Bool:] -> Bool
data family PArray a
class Elt a => PrimPA a where
fromUArrPA :: Int -> Array a -> PArray a
toUArrPA :: PArray a -> Array a
primPA :: PA a
fromUArrPA' :: PrimPA a => Array a -> PArray a
fromSUArrPA :: PrimPA a => Int -> Int -> SArray a -> PArray (PArray a)
fromSUArrPA' :: PrimPA a => SArray a -> PArray (PArray a)
fromSUArrPA_2 :: (PrimPA a, PrimPA b) => Int -> Int -> SArray (a :*: b) -> PArray (PArray (a, b))
fromSUArrPA_2' :: (PrimPA a, PrimPA b) => SArray (a :*: b) -> PArray (PArray (a, b))
fromUArrPA_3 :: (PrimPA a, PrimPA b, PrimPA c) => Int -> Array ((a :*: b) :*: c) -> PArray (a, b, c)
fromUArrPA_3' :: (PrimPA a, PrimPA b, PrimPA c) => Array ((a :*: b) :*: c) -> PArray (a, b, c)
Documentation
mapP
filterP
combineP :: [:a:] -> [:a:] -> [:Int:] -> [:a:]Source
emptyP
zipWithP
!:
lengthP
concatP
zipP
unzipP
singletonP
+:+
replicateP
fromPArrayP :: PArray a -> [:a:]Source
fromPArrayPA :: PA a -> PArray a :-> PArray aSource
toPArrayP :: [:a:] -> PArray aSource
toPArrayPA :: PA a -> PArray a :-> PArray aSource
fromNestedPArrayP :: PArray (PArray a) -> [:[:a:]:]Source
fromNestedPArrayPA :: PA a -> PArray (PArray a) :-> PArray (PArray a)Source
Bool (False, True)
otherwise :: BoolSource
(&&) :: Bool -> Bool -> BoolSource
(||) :: Bool -> Bool -> BoolSource
not :: Bool -> BoolSource
andP :: [:Bool:] -> BoolSource
orP :: [:Bool:] -> BoolSource
data family PArray a Source
Lifted parallel arrays
class Elt a => PrimPA a whereSource
Methods
fromUArrPA :: Int -> Array a -> PArray aSource
toUArrPA :: PArray a -> Array aSource
primPA :: PA aSource
show/hide Instances
fromUArrPA' :: PrimPA a => Array a -> PArray aSource
fromSUArrPA :: PrimPA a => Int -> Int -> SArray a -> PArray (PArray a)Source
fromSUArrPA' :: PrimPA a => SArray a -> PArray (PArray a)Source
fromSUArrPA_2 :: (PrimPA a, PrimPA b) => Int -> Int -> SArray (a :*: b) -> PArray (PArray (a, b))Source
fromSUArrPA_2' :: (PrimPA a, PrimPA b) => SArray (a :*: b) -> PArray (PArray (a, b))Source
fromUArrPA_3 :: (PrimPA a, PrimPA b, PrimPA c) => Int -> Array ((a :*: b) :*: c) -> PArray (a, b, c)Source
fromUArrPA_3' :: (PrimPA a, PrimPA b, PrimPA c) => Array ((a :*: b) :*: c) -> PArray (a, b, c)Source
Produced by Haddock version 2.4.2