matlab-0.2.0.0: Matlab bindings and interface

Safe HaskellNone
LanguageHaskell2010

Foreign.Matlab.Array.MArray

Description

Safe MArray interface to Foreign.Matlab.Array.

An instance of MArray for MXArray. Although array access can be done through this instance, arrays themselves must be created using mxMArray along with one of the Foreign.Matlab.Array create functions.

Synopsis

Documentation

data MMXArray i e Source

A wrapper for MXArray to allow for a MArray instance. All instances of this type will have MIndex as i

mxMArray :: MXArrayComponent a => MXArray a -> MMXArray MIndex a Source

Get an MArray instance for an MXArray. The resulting object is just a different interface to the same underlying array.

unMmxArray :: MXArrayComponent a => MMXArray MIndex a -> MXArray a Source

Get a MXArray back from its MArray instance