Hoogle Search

Within LTS Haskell 24.31 (ghc-9.10.3)

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

  1. toBoxedMVector :: Index ix => MArray s BL ix a -> MVector s a

    massiv Data.Massiv.Array.Manifest

    O(1) - Converts a boxed MArray into a MVector.

  2. toBoxedVector :: Index ix => Array BL ix a -> Vector a

    massiv Data.Massiv.Array.Manifest

    O(1) - Converts a boxed Array into a Vector without touching any elements.

  3. toPrimitiveMVector :: Index ix => MArray s P ix e -> MVector s e

    massiv Data.Massiv.Array.Manifest

    O(1) - Cast a mutable primitive array to a mutable primitive vector.

  4. toPrimitiveVector :: Index ix => Array P ix e -> Vector e

    massiv Data.Massiv.Array.Manifest

    O(1) - Cast a primitive array to a primitive vector.

  5. toStorableMVector :: Index ix => MArray s S ix e -> MVector s e

    massiv Data.Massiv.Array.Manifest

    O(1) - Unwrap storable mutable array and pull out the underlying storable mutable vector.

  6. toStorableVector :: Index ix => Array S ix e -> Vector e

    massiv Data.Massiv.Array.Manifest

    O(1) - Unwrap storable array and pull out the underlying storable vector.

  7. toUnboxedMVector :: MArray s U ix e -> MVector s e

    massiv Data.Massiv.Array.Manifest

    O(1) - Unwrap unboxed mutable array and pull out the underlying unboxed mutable vector.

  8. toUnboxedVector :: Array U ix e -> Vector e

    massiv Data.Massiv.Array.Manifest

    O(1) - Unwrap unboxed array and pull out the underlying unboxed vector.

  9. castFromVector :: forall v r ix e . (Vector v e, Typeable v, Index ix, ARepr v ~ r) => Comp -> Sz ix -> v e -> Maybe (Array r ix e)

    massiv Data.Massiv.Array.Manifest.Vector

    O(1) - conversion from vector to an array with a corresponding representation. Will return Nothing if there is a size mismatch or if some non-standard vector type is supplied. Is suppplied is the boxed Vector then it's all elements will be evaluated toWHNF, therefore complexity will be O(n)

  10. castToVector :: forall v r ix e . (Manifest r e, Index ix, VRepr r ~ v) => Array r ix e -> Maybe (v e)

    massiv Data.Massiv.Array.Manifest.Vector

    O(1) - conversion from Mutable array to a corresponding vector. Will return Nothing only if source array representation was not one of B, N, P, S or U.

Page 59 of many | Previous | Next