PrimitiveArray-0.4.0.0: Efficient multidimensional arrays

Safe HaskellNone

Data.PrimitiveArray.Zero

Description

Boxed, primitive arrays. A good use-case is to store boxed or unboxed vectors.

Synopsis

Documentation

data MArr0 s sh elm Source

Monadic arrays of primitive type.

Constructors

MArr0 !sh !(MutableArray s elm) 

Instances

(Shape sh, ExtShape sh) => MPrimArrayOps MArr0 sh elm 

data Arr0 sh elm Source

Immutable arrays of primitive type.

Constructors

Arr0 !sh !(Array elm) 

Instances

(MPrimArrayOps (MutArray Arr0) sh elm, Shape sh, ExtShape sh) => PrimArrayOps Arr0 sh elm