Safe Haskell | None |
---|---|
Language | Haskell98 |
List-like functions on the inner dimension.
- length :: (Shape sh, Slice sh, Elt a) => Acc (Array (sh :. Int) a) -> Exp Int
- head :: (Shape sh, Slice sh, Elt a) => Acc (Array (sh :. Int) a) -> Acc (Array sh a)
- tail :: (Shape sh, Slice sh, Elt a) => Acc (Array (sh :. Int) a) -> Acc (Array (sh :. Int) a)
- cons :: (Shape sh, Slice sh, Elt a) => Acc (Array sh a) -> Acc (Array (sh :. Int) a) -> Acc (Array (sh :. Int) a)
- consExp :: (Shape sh, Slice sh, Elt a) => Exp a -> Acc (Array (sh :. Int) a) -> Acc (Array (sh :. Int) a)
- append3 :: (Shape sh, Slice sh, Elt a) => Acc (Array (sh :. Int) a) -> Acc (Array (sh :. Int) a) -> Acc (Array (sh :. Int) a) -> Acc (Array (sh :. Int) a)
- stack3 :: (Shape sh, Slice sh, Elt a) => Acc (Array (sh :. Int) a) -> Acc (Array (sh :. Int) a) -> Acc (Array (sh :. Int) a) -> Acc (Array ((sh :. Int) :. Int) a)
- take :: (Shape sh, Slice sh, Elt a) => Exp Int -> Acc (Array (sh :. Int) a) -> Acc (Array (sh :. Int) a)
- drop :: (Shape sh, Slice sh, Elt a) => Exp Int -> Acc (Array (sh :. Int) a) -> Acc (Array (sh :. Int) a)
- pad :: (Shape sh, Slice sh, Elt a) => Exp a -> Exp Int -> Acc (Array (sh :. Int) a) -> Acc (Array (sh :. Int) a)
- sliceHorizontal :: (Shape sh, Slice sh, Elt a) => Exp DIM2 -> Acc (Array (sh :. Int) a) -> Acc (Array ((sh :. Int) :. Int) a)
- sieve :: (Shape sh, Slice sh, Elt a) => Exp Int -> Exp Int -> Acc (Array (sh :. Int) a) -> Acc (Array (sh :. Int) a)
Documentation
tail :: (Shape sh, Slice sh, Elt a) => Acc (Array (sh :. Int) a) -> Acc (Array (sh :. Int) a) Source #
cons :: (Shape sh, Slice sh, Elt a) => Acc (Array sh a) -> Acc (Array (sh :. Int) a) -> Acc (Array (sh :. Int) a) Source #
consExp :: (Shape sh, Slice sh, Elt a) => Exp a -> Acc (Array (sh :. Int) a) -> Acc (Array (sh :. Int) a) Source #
append3 :: (Shape sh, Slice sh, Elt a) => Acc (Array (sh :. Int) a) -> Acc (Array (sh :. Int) a) -> Acc (Array (sh :. Int) a) -> Acc (Array (sh :. Int) a) Source #
stack3 :: (Shape sh, Slice sh, Elt a) => Acc (Array (sh :. Int) a) -> Acc (Array (sh :. Int) a) -> Acc (Array (sh :. Int) a) -> Acc (Array ((sh :. Int) :. Int) a) Source #
take :: (Shape sh, Slice sh, Elt a) => Exp Int -> Acc (Array (sh :. Int) a) -> Acc (Array (sh :. Int) a) Source #
drop :: (Shape sh, Slice sh, Elt a) => Exp Int -> Acc (Array (sh :. Int) a) -> Acc (Array (sh :. Int) a) Source #
pad :: (Shape sh, Slice sh, Elt a) => Exp a -> Exp Int -> Acc (Array (sh :. Int) a) -> Acc (Array (sh :. Int) a) Source #