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.
toBoxedMVector :: Index ix => MArray s BL ix a -> MVector s amassiv Data.Massiv.Array.Manifest toBoxedVector :: Index ix => Array BL ix a -> Vector amassiv Data.Massiv.Array.Manifest O(1) - Converts a boxed Array into a Vector without touching any elements.
toPrimitiveMVector :: Index ix => MArray s P ix e -> MVector s emassiv Data.Massiv.Array.Manifest O(1) - Cast a mutable primitive array to a mutable primitive vector.
toPrimitiveVector :: Index ix => Array P ix e -> Vector emassiv Data.Massiv.Array.Manifest O(1) - Cast a primitive array to a primitive vector.
toStorableMVector :: Index ix => MArray s S ix e -> MVector s emassiv Data.Massiv.Array.Manifest O(1) - Unwrap storable mutable array and pull out the underlying storable mutable vector.
toStorableVector :: Index ix => Array S ix e -> Vector emassiv Data.Massiv.Array.Manifest O(1) - Unwrap storable array and pull out the underlying storable vector.
toUnboxedMVector :: MArray s U ix e -> MVector s emassiv Data.Massiv.Array.Manifest O(1) - Unwrap unboxed mutable array and pull out the underlying unboxed mutable vector.
toUnboxedVector :: Array U ix e -> Vector emassiv Data.Massiv.Array.Manifest O(1) - Unwrap unboxed array and pull out the underlying unboxed vector.
-
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)
-
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.