aivika-4.6: A multi-method simulation library

CopyrightCopyright (c) 2009-2016 David Sorokin <david.sorokin@gmail.com>
LicenseBSD3
MaintainerDavid Sorokin <david.sorokin@gmail.com>
Stabilityexperimental
Safe HaskellSafe
LanguageHaskell2010

Simulation.Aivika.Unboxed

Description

Tested with: GHC 8.0.1

The Unboxed class allows creating unboxed arrays in monad IO.

Synopsis

Documentation

class MArray IOUArray e IO => Unboxed e where Source #

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 Source # 

Methods

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

Unboxed Char Source # 

Methods

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

Unboxed Double Source # 

Methods

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

Unboxed Float Source # 

Methods

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

Unboxed Int Source # 

Methods

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

Unboxed Int8 Source # 

Methods

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

Unboxed Int16 Source # 

Methods

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

Unboxed Int32 Source # 

Methods

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

Unboxed Int64 Source # 

Methods

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

Unboxed Word Source # 

Methods

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

Unboxed Word8 Source # 

Methods

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

Unboxed Word16 Source # 

Methods

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

Unboxed Word32 Source # 

Methods

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

Unboxed Word64 Source # 

Methods

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