| Safe Haskell | None |
|---|---|
| Language | Haskell98 |
Data.Array.Repa.Repr.Delayed
Documentation
Delayed arrays are represented as functions from the index to element value.
Every time you index into a delayed array the element at that position is recomputed.
Instances
| Source D a Source # | Compute elements of a delayed array. |
| Elt e => LoadRange D DIM2 e Source # | Compute a range of elements in a rank-2 array. |
| Shape sh => Load D sh e Source # | Compute all elements in an array. |
| Structured D a b Source # | |
| (Shape sh, Load D sh e) => Load (I D) sh e Source # | |
| data Array D Source # | |
| type TR D Source # | |
fromFunction :: sh -> (sh -> a) -> Array D sh a Source #
O(1). Wrap a function as a delayed array.