Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- type MMatrix a = MMatrix MVector a
- dim :: Context a => MMatrix s a -> (Int, Int)
- takeRow :: Context a => MMatrix s a -> Int -> MVector s a
- write :: Context a => PrimMonad s => MMatrix (PrimState s) a -> (Int, Int) -> a -> s ()
- unsafeWrite :: (Context a, PrimMonad s) => MMatrix (PrimState s) a -> (Int, Int) -> a -> s ()
- read :: (Context a, PrimMonad s) => MMatrix (PrimState s) a -> (Int, Int) -> s a
- unsafeRead :: (Context a, PrimMonad s) => MMatrix (PrimState s) a -> (Int, Int) -> s a
- new :: (Context a, PrimMonad s) => (Int, Int) -> s (MMatrix (PrimState s) a)
- replicate :: (Context a, PrimMonad s) => (Int, Int) -> a -> s (MMatrix (PrimState s) a)