netlib-ffi-0.1.1: Helper modules for FFI to BLAS and LAPACK
Numeric.Netlib.Utility
type FortranIO r = ContT r IO Source #
run :: FortranIO r (IO a) -> FortranIO r a Source #
runChecked :: String -> FortranIO r (Ptr CInt -> IO a) -> FortranIO r a Source #
check :: String -> IO CInt -> IO () Source #
assert :: String -> Bool -> IO () Source #
ignore :: String -> Int -> IO () Source #
cint :: Int -> FortranIO r (Ptr CInt) Source #
leadingDim :: Int -> FortranIO r (Ptr CInt) Source #
alloca :: Storable a => FortranIO r (Ptr a) Source #
allocaArray :: Storable a => Int -> FortranIO r (Ptr a) Source #
bool :: Bool -> FortranIO r (Ptr Bool) Source #
char :: Char -> FortranIO r (Ptr CChar) Source #
string :: String -> FortranIO r (Ptr CChar) Source #
float :: Float -> FortranIO r (Ptr Float) Source #
double :: Double -> FortranIO r (Ptr Double) Source #
complexFloat :: Complex Float -> FortranIO r (Ptr (Complex Float)) Source #
complexDouble :: Complex Double -> FortranIO r (Ptr (Complex Double)) Source #
real :: Real a => a -> FortranIO r (Ptr a) Source #
complex :: Real a => Complex a -> FortranIO r (Ptr (Complex a)) Source #
number :: Floating a => a -> FortranIO r (Ptr a) Source #