Safe Haskell | None |
---|---|
Language | Haskell98 |
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.
computeVectorS :: Load r1 sh e => Array r1 sh e -> Array V sh e #
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) #
Parallel computation of array elements.
fromListVector :: Shape sh => sh -> [a] -> Array V sh a #
O(n). Convert a list to a boxed vector array.
- This is an alias for
fromList
with a more specific type.
fromVector :: sh -> Vector e -> Array V sh e #
O(1). Wrap a boxed vector as an array.