Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- lastOrZero :: (Storable a, Integral a) => Vector a -> a
- reword :: (Storable a, Integral a, Storable b, Num b) => Vector a -> Vector b
- dropTake :: Storable a => Int -> Int -> Vector a -> Vector a
- dropTakeFill :: Storable a => Int -> Int -> a -> Vector a -> Vector a
- pageFill :: Storable a => Int -> Int -> a -> Vector a -> Vector a
Documentation
:: Storable a | |
=> Int | The n-th page to retrieve |
-> Int | The page size |
-> a | The element value to fill the page when input vector has insufficient values |
-> Vector a | The input vector |
-> Vector a | The page |
Return the n-th page of size s from the input vector. In the case where there isn't sufficient data to fill the page from the input vector, then the remainder of the page is filled with a.