Safe Haskell | None |
---|
- ffiCoFold :: Int -> String -> IO (Double, String)
- ffiCoEnergyOfStructure :: Int -> String -> String -> Int -> IO Double
- ffiCoPartitionFunction :: Int -> String -> IO (CofoldF, String, Array (Int, Int) Double)
- ffiCoPartitionConstrained :: Int -> String -> String -> IO (CofoldF, String, Array (Int, Int) Double)
- data CofoldF = CofoldF {}
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.