Safe Haskell | None |
---|---|
Language | Haskell2010 |
- unsafeCoerceMat :: Mat shapeIn channelsIn depthIn -> Mat shapeOut channelsOut depthOut
- unsafeCoerceMatM :: Mut (Mat shapeIn channelsIn depthIn) s -> Mut (Mat shapeOut channelsOut depthOut) s
- unsafeFreeze :: (FreezeThaw a, PrimMonad m) => Mutable a (PrimState m) -> m a
- unsafeThaw :: (FreezeThaw a, PrimMonad m) => a -> m (Mutable a (PrimState m))
- unsafeRead :: forall m shape channels depth value. (PrimMonad m, Storable value) => Mut (Mat shape channels depth) (PrimState m) -> [Int] -> Int -> m value
- unsafeWrite :: (PrimMonad m, Storable value) => Mut (Mat shape channels depth) (PrimState m) -> [Int] -> Int -> value -> m ()
Documentation
unsafeCoerceMat :: Mat shapeIn channelsIn depthIn -> Mat shapeOut channelsOut depthOut Source #
unsafeCoerceMatM :: Mut (Mat shapeIn channelsIn depthIn) s -> Mut (Mat shapeOut channelsOut depthOut) s Source #
Mutable Matrix
unsafeFreeze :: (FreezeThaw a, PrimMonad m) => Mutable a (PrimState m) -> m a Source #
unsafeThaw :: (FreezeThaw a, PrimMonad m) => a -> m (Mutable a (PrimState m)) Source #