aivika-2.0: A multi-paradigm simulation library

Stabilityexperimental
MaintainerDavid Sorokin <david.sorokin@gmail.com>
Safe HaskellSafe-Inferred

Simulation.Aivika.Unboxed

Description

Tested with: GHC 7.8.3

The Unboxed class allows creating unboxed arrays in monad IO.

Synopsis

Documentation

class MArray IOUArray e IO => Unboxed e whereSource

The type which values can be contained in an unboxed array.

Methods

newUnboxedArray_ :: Ix i => (i, i) -> IO (IOUArray i e)Source

Create an unboxed array with default values.

Instances

Unboxed Bool 
Unboxed Char 
Unboxed Double 
Unboxed Float 
Unboxed Int 
Unboxed Int8 
Unboxed Int16 
Unboxed Int32 
Unboxed Int64 
Unboxed Word 
Unboxed Word8 
Unboxed Word16 
Unboxed Word32 
Unboxed Word64