haskell-igraph-0.5.0: Haskell interface of the igraph library.

Safe HaskellSafe
LanguageHaskell2010

IGraph.Internal.Types

Contents

Synopsis

Vector type and basic operations

newtype Vector Source #

Constructors

Vector (ForeignPtr Vector) 

withVector :: Vector -> (Ptr Vector -> IO b) -> IO b Source #

Pointer vector

String vector

Bytestring

newtype BSLen Source #

Constructors

BSLen (ForeignPtr BSLen) 

withBSLen :: BSLen -> (Ptr BSLen -> IO b) -> IO b Source #

Bytestring vector

newtype BSVector Source #

Constructors

BSVector (ForeignPtr BSVector) 

Igraph matrix type

newtype Matrix Source #

Constructors

Matrix (ForeignPtr Matrix) 

withMatrix :: Matrix -> (Ptr Matrix -> IO b) -> IO b Source #

Igraph vertex selector

newtype IGraphVs Source #

Constructors

IGraphVs (ForeignPtr IGraphVs) 

allocaVs :: (Ptr IGraphVs -> IO a) -> IO a Source #

Igraph vertex iterator

Igraph edge Selector

allocaEs :: (Ptr IGraphEs -> IO a) -> IO a Source #

Igraph edge iterator

IGraph type and basic operations

newtype IGraph Source #

Constructors

IGraph (ForeignPtr IGraph) 

withIGraph :: IGraph -> (Ptr IGraph -> IO b) -> IO b Source #

Igraph attribute record

Igraph arpack options type