Safe Haskell | None |
---|
Documentation
data Array sh a
render :: (C sh, Storable sh, C sh, Storable a, C a) => Array p sh a -> IO (p -> IO (Array sh a))Source
renderShape :: (C sh, Storable sh, C sh, Storable a, C a) => Array p sh a -> IO (p -> IO (sh, Size))Source
mapAccumLSimple :: (C sh, Storable sh, C sh, C n, Storable n, C n, C acc, Storable a, C a, Storable b, C b) => (Exp acc -> Exp a -> Exp (acc, b)) -> Array p sh acc -> Array p (sh, n) a -> IO (p -> IO (Array (sh, n) b))Source
foldOuterL :: (C sh, Storable sh, C sh, C n, Storable n, C n, Storable a, C a) => (Exp a -> Exp b -> Exp a) -> Array p sh a -> Array p (n, sh) b -> IO (p -> IO (Array sh a))Source
scatter :: (C sh0, Index sh0 ~ ix0, C sh1, Index sh1 ~ ix1, Storable sh1, C sh1, Storable a, C a) => (Exp a -> Exp a -> Exp a) -> Array p sh1 a -> Array p sh0 (ix1, a) -> IO (p -> IO (Array sh1 a))Source