aivika-6.1: A multi-method simulation library
CopyrightCopyright (c) 2009-2017 David Sorokin <david.sorokin@gmail.com>
LicenseBSD3
MaintainerDavid Sorokin <david.sorokin@gmail.com>
Stabilityexperimental
Safe HaskellSafe-Inferred
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.

Minimal complete definition

Nothing

Methods

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

Create an unboxed array with default values.

Instances

Instances details
Unboxed Int16 Source # 
Instance details

Defined in Simulation.Aivika.Unboxed

Methods

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

Unboxed Int32 Source # 
Instance details

Defined in Simulation.Aivika.Unboxed

Methods

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

Unboxed Int64 Source # 
Instance details

Defined in Simulation.Aivika.Unboxed

Methods

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

Unboxed Int8 Source # 
Instance details

Defined in Simulation.Aivika.Unboxed

Methods

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

Unboxed Word16 Source # 
Instance details

Defined in Simulation.Aivika.Unboxed

Methods

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

Unboxed Word32 Source # 
Instance details

Defined in Simulation.Aivika.Unboxed

Methods

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

Unboxed Word64 Source # 
Instance details

Defined in Simulation.Aivika.Unboxed

Methods

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

Unboxed Word8 Source # 
Instance details

Defined in Simulation.Aivika.Unboxed

Methods

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

Unboxed Bool Source # 
Instance details

Defined in Simulation.Aivika.Unboxed

Methods

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

Unboxed Char Source # 
Instance details

Defined in Simulation.Aivika.Unboxed

Methods

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

Unboxed Double Source # 
Instance details

Defined in Simulation.Aivika.Unboxed

Methods

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

Unboxed Float Source # 
Instance details

Defined in Simulation.Aivika.Unboxed

Methods

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

Unboxed Int Source # 
Instance details

Defined in Simulation.Aivika.Unboxed

Methods

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

Unboxed Word Source # 
Instance details

Defined in Simulation.Aivika.Unboxed

Methods

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