ViennaRNA-bindings-0.1.2.0: ViennaRNA v2 bindings

Safe HaskellNone

BioInf.ViennaRNA.Bindings.FFI.CoFold

Synopsis

Documentation

ffiCoPartitionConstrained :: Int -> String -> String -> IO (CofoldF, String, Array (Int, Int) Double)Source

Constrained partition function

NOTE the wrapped C function we foreign import use very dirty return-pointer-from-stack stuff. We should fix that. On the other hand, it just works, because we immediately peek into the structure and marshall to Haskell.

data CofoldF Source

Constructors

CofoldF 

Fields

f0ab :: Double
 
fab :: Double
 
fcab :: Double
 
fa :: Double
 
fb :: Double