Hoogle Search

Within LTS Haskell 24.52 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. iforPrimM :: (Manifest r e, Index ix, PrimMonad m) => MArray (PrimState m) r ix e -> (ix -> e -> m e) -> m ()

    massiv Data.Massiv.Array.Mutable

    Sequentially loop over a mutable array while modifying each element with an index aware action.

  2. iforPrimM_ :: (Manifest r e, Index ix, PrimMonad m) => MArray (PrimState m) r ix e -> (ix -> e -> m ()) -> m ()

    massiv Data.Massiv.Array.Mutable

    Sequentially loop over a mutable array while reading each element and applying an index aware action to it. There is no mutation to the array, unless the action itself modifies it.

  3. unsafeArrayFromForeignPtr :: Storable e => Comp -> ForeignPtr e -> Int -> Sz1 -> Array S Ix1 e

    massiv Data.Massiv.Array.Unsafe

    O(1) - Wrap a ForeignPtr, an offset and it's size into a pure storable array.

  4. unsafeArrayFromForeignPtr0 :: Comp -> ForeignPtr e -> Sz1 -> Vector S e

    massiv Data.Massiv.Array.Unsafe

    O(1) - Wrap a ForeignPtr and it's size into a pure storable array.

  5. unsafeArrayToForeignPtr :: Index ix => Array S ix e -> (ForeignPtr e, Int)

    massiv Data.Massiv.Array.Unsafe

    O(1) - Yield the underlying ForeignPtr together with its length.

  6. unsafeMArrayFromForeignPtr :: Storable e => ForeignPtr e -> Int -> Sz1 -> MArray s S Ix1 e

    massiv Data.Massiv.Array.Unsafe

    O(1) - Wrap a ForeignPtr, an offset and it's size into a mutable storable array. It is still safe to modify the pointer, unless the array gets frozen prior to modification.

  7. unsafeMArrayFromForeignPtr0 :: ForeignPtr e -> Sz1 -> MArray s S Ix1 e

    massiv Data.Massiv.Array.Unsafe

    O(1) - Wrap a ForeignPtr and it's size into a mutable storable array. It is still safe to modify the pointer, unless the array gets frozen prior to modification.

  8. unsafeMArrayToForeignPtr :: Index ix => MArray s S ix e -> (ForeignPtr e, Int)

    massiv Data.Massiv.Array.Unsafe

    O(1) - Yield the underlying ForeignPtr together with its length.

  9. unsafeTransform :: (Index ix', Source r' e', Index ix) => (Sz ix' -> (Sz ix, a)) -> (a -> (ix' -> e') -> ix -> e) -> Array r' ix' e' -> Array D ix e

    massiv Data.Massiv.Array.Unsafe

    Same transform', except no bounds checking is performed, thus making it faster, but unsafe.

  10. unsafeTransform2 :: (Index ix1, Source r1 e1, Index ix2, Source r2 e2, Index ix) => (Sz ix1 -> Sz ix2 -> (Sz ix, a)) -> (a -> (ix1 -> e1) -> (ix2 -> e2) -> ix -> e) -> Array r1 ix1 e1 -> Array r2 ix2 e2 -> Array D ix e

    massiv Data.Massiv.Array.Unsafe

    Same transform2', except no bounds checking is performed, thus making it faster, but unsafe.

Page 635 of many | Previous | Next