Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data V
- data family Array r sh e
- computeVectorS :: Load r1 sh e => Array r1 sh e -> Array V sh e
- computeVectorP :: (Load r1 sh e, Monad m) => Array r1 sh e -> m (Array V sh e)
- fromListVector :: Shape sh => sh -> [a] -> Array V sh a
- fromVector :: sh -> Vector e -> Array V sh e
- toVector :: Array V sh e -> Vector e
Documentation
Arrays represented as boxed vectors.
This representation should only be used when your element type doesn't
have an Unbox
instsance. If it does, then use the Unboxed U
representation will be faster.
Instances
Source V a Source # | Read elements from a boxed vector array. |
Defined in Data.Array.Repa.Repr.Vector | |
Target V e Source # | Filling of boxed vector arrays. |
Defined in Data.Array.Repa.Repr.Vector | |
(Read sh, Read e) => Read (Array V sh e) Source # | |
(Show sh, Show e) => Show (Array V sh e) Source # | |
(Arbitrary sh, Arbitrary a, Shape sh) => Arbitrary (Array V sh a) Source # | |
data Array V sh a Source # | |
Defined in Data.Array.Repa.Repr.Vector | |
data MVec V e Source # | |
Defined in Data.Array.Repa.Repr.Vector |
data family Array r sh e Source #
Instances
computeVectorS :: Load r1 sh e => Array r1 sh e -> Array V sh e Source #
Sequential computation of array elements.
- This is an alias for
compute
with a more specific type.
computeVectorP :: (Load r1 sh e, Monad m) => Array r1 sh e -> m (Array V sh e) Source #
Parallel computation of array elements.