repa-2.0.0.3: High performance, regular, shape polymorphic parallel arrays.

Data.Array.Repa.Index

Contents

Description

Index types.

Synopsis

Index types

data Z Source

An index of dimension zero

Constructors

Z 

Instances

data tail :. head Source

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) 

Common dimensions.

type DIM0 = ZSource