Safe Haskell | None |
---|---|
Language | Haskell98 |
Data.Vector.Fixed.Primitive
Contents
Description
Unboxed vectors with fixed length. Vectors from Data.Vector.Fixed.Unboxed provide more flexibility at no performeance cost.
Immutable
Unboxed vector with fixed length
Instances
(Arity n, Prim a) => VectorN Vec n a | |
(Arity n, Prim a) => Vector (Vec n) a | |
(Arity n, Prim a) => IVector (Vec n) a | |
(Arity n, Prim a, Eq a) => Eq (Vec n a) | |
(Typeable * n, Arity n, Prim a, Data a) => Data (Vec n a) | |
(Arity n, Prim a, Ord a) => Ord (Vec n a) | |
(Arity n, Prim a, Show a) => Show (Vec n a) | |
(Arity n, Prim a, Monoid a) => Monoid (Vec n a) | |
Typeable (* -> * -> *) Vec | |
type Dim (Vec n) = n | |
type Mutable (Vec n) = MVec n |
Mutable
Mutable unboxed vector with fixed length
Type classes
class Prim a
Class of types supporting primitive array operations
Minimal complete definition
sizeOf#, alignment#, indexByteArray#, readByteArray#, writeByteArray#, setByteArray#, indexOffAddr#, readOffAddr#, writeOffAddr#, setOffAddr#