hblas-0.1.0.0: BLAS and Lapack bindings for OpenBLAS

Safe HaskellTrustworthy
LanguageHaskell2010

Numerical.HBLAS.UtilsFFI

Documentation

withRWStorable :: (Storable a, PrimMonad m) => a -> (Ptr a -> m b) -> m a Source

withRStorable :: (Storable a, PrimMonad m) => a -> (Ptr a -> m b) -> m b Source

withRStorable_ :: (Storable a, PrimMonad m) => a -> (Ptr a -> m ()) -> m () Source

withForeignPtrPrim :: PrimMonad m => ForeignPtr a -> (Ptr a -> m b) -> m b Source

unsafeWithPrim :: (Storable a, PrimMonad m) => MVector (PrimState m) a -> (Ptr a -> m b) -> m b Source

unsafeWithPrimLen :: (Storable a, PrimMonad m) => MVector (PrimState m) a -> ((Ptr a, Int) -> m b) -> m b Source

unsafeWithPurePrim :: (Storable a, PrimMonad m) => Vector a -> (Ptr a -> m b) -> m b Source

unsafeWithPurePrimLen :: (Storable a, PrimMonad m) => Vector a -> ((Ptr a, Int) -> m b) -> m b Source