Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
fromMM :: forall o m r c v a. (PrimMonad m, SingI r, SingI c, Vector v a, IOElement a) => ConduitT ByteString o m (SparseMatrix r c v a) Source #
fromMM' :: forall o m v a. (PrimMonad m, Vector v a, IOElement a) => ConduitT ByteString o m (Dynamic SparseMatrix v a) Source #
toMM :: forall m r c v a i. (Monad m, Zero a, IOElement a, Vector v a) => SparseMatrix r c v a -> ConduitT i ByteString m () Source #
class Unbox a => IOElement a where Source #
decodeElem :: ByteString -> a Source #
encodeElem :: a -> ByteString Source #
Instances
IOElement Double Source # | |
Defined in Data.Matrix.Static.IO decodeElem :: ByteString -> Double Source # encodeElem :: Double -> ByteString Source # | |
IOElement Int Source # | |
Defined in Data.Matrix.Static.IO decodeElem :: ByteString -> Int Source # encodeElem :: Int -> ByteString Source # |