Safe Haskell | None |
---|---|
Language | Haskell98 |
Index space transformation between arrays and slices.
Documentation
Select all indices at a certain position.
Place holder for any possible shape.
Instances
Slice (Any sh) Source # | |
Defined in Data.Array.Repa.Slice sliceOfFull :: Any sh -> FullShape (Any sh) -> SliceShape (Any sh) Source # fullOfSlice :: Any sh -> SliceShape (Any sh) -> FullShape (Any sh) Source # | |
type SliceShape (Any sh) Source # | |
Defined in Data.Array.Repa.Slice | |
type FullShape (Any sh) Source # | |
Defined in Data.Array.Repa.Slice |
type family FullShape ss Source #
Map a type of the index in the full shape, to the type of the index in the slice.
type family SliceShape ss Source #
Map the type of an index in the slice, to the type of the index in the full shape.
Instances
type SliceShape Z Source # | |
Defined in Data.Array.Repa.Slice | |
type SliceShape (Any sh) Source # | |
Defined in Data.Array.Repa.Slice | |
type SliceShape (sl :. All) Source # | |
Defined in Data.Array.Repa.Slice | |
type SliceShape (sl :. Int) Source # | |
Defined in Data.Array.Repa.Slice |
Class of index types that can map to slices.
sliceOfFull :: ss -> FullShape ss -> SliceShape ss Source #
Map an index of a full shape onto an index of some slice.
fullOfSlice :: ss -> SliceShape ss -> FullShape ss Source #
Map an index of a slice onto an index of the full shape.
Instances
Slice Z Source # | |
Defined in Data.Array.Repa.Slice sliceOfFull :: Z -> FullShape Z -> SliceShape Z Source # fullOfSlice :: Z -> SliceShape Z -> FullShape Z Source # | |
Slice (Any sh) Source # | |
Defined in Data.Array.Repa.Slice sliceOfFull :: Any sh -> FullShape (Any sh) -> SliceShape (Any sh) Source # fullOfSlice :: Any sh -> SliceShape (Any sh) -> FullShape (Any sh) Source # | |
Slice sl => Slice (sl :. All) Source # | |
Defined in Data.Array.Repa.Slice | |
Slice sl => Slice (sl :. Int) Source # | |
Defined in Data.Array.Repa.Slice |