Data.Array.Repa.Index
Contents
Description
Index types.
Index types
An index of dimension zero
Constructors
Z |
Our index type, used for both shapes and indices.
Constructors
tail :. head |
Instances
(Eq tail, Eq head) => Eq (:. tail head) | |
(Ord tail, Ord head) => Ord (:. tail head) | |
(Show tail, Show head) => Show (:. tail head) | |
(Shape sh, Arbitrary sh) => Arbitrary (:. sh Int) | Generate an arbitrary index, which may have 0's for some components. |
Shape sh => Shape (:. sh Int) | |
Slice sl => Slice (:. sl All) | |
Slice sl => Slice (:. sl Int) |