Copyright | (c) Alexey Kuleshevich 2016 |
---|---|
License | BSD3 |
Maintainer | Alexey Kuleshevich <lehins@yandex.ru> |
Stability | experimental |
Portability | non-portable |
Safe Haskell | None |
Language | Haskell2010 |
Synopsis
- fromRepaArrayS :: Source r (Pixel cs e) => Array r DIM2 (Pixel cs e) -> Image RSU cs e
- fromRepaArrayP :: Source r (Pixel cs e) => Array r DIM2 (Pixel cs e) -> Image RPU cs e
- toRepaArray :: Array arr cs e => Image arr cs e -> Array U DIM2 (Pixel cs e)
- data RSU = RSU
- data RPU = RPU
- data RSS = RSS
- data RPS = RPS
Conversion
fromRepaArrayS :: Source r (Pixel cs e) => Array r DIM2 (Pixel cs e) -> Image RSU cs e Source #
Create a sequential unboxed image from a 2D Repa delayed array.
fromRepaArrayP :: Source r (Pixel cs e) => Array r DIM2 (Pixel cs e) -> Image RPU cs e Source #
Create a parallel unboxed image from a 2D Repa delayed array.
toRepaArray :: Array arr cs e => Image arr cs e -> Array U DIM2 (Pixel cs e) Source #
Convert into Repa Unboxed array from an image.
Representation
Repa Array representation backed by Unboxed Vector, which is computed sequentially.
Instances
Repa Array representation backed by Unboxed Vector, which is computed in parallel.
Instances
Repa Array representation backed by Storable Vector, which is computed sequentially.
Instances
Repa Array representation backed by Storable Vector, which is computed in parallel.