Copyright | [2017..2020] The Accelerate Team |
---|---|

License | BSD3 |

Maintainer | Trevor L. McDonell <trevor.mcdonell@gmail.com> |

Stability | experimental |

Portability | non-portable (GHC extensions) |

Safe Haskell | None |

Language | Haskell2010 |

This module provides an instance for `Vector`

, for
immutable vectors from the `vector`

package backed by Accelerate arrays.

This allows computations written with the `vector`

library to read from and
store into, arrays which can then be passed directly to an Accelerate
computation.

*Since: 0.1.0.0*

# Orphan instances

Elt e => Vector Vector e Source # | |

basicUnsafeFreeze :: PrimMonad m => Mutable Vector (PrimState m) e -> m (Vector e) # basicUnsafeThaw :: PrimMonad m => Vector e -> m (Mutable Vector (PrimState m) e) # basicLength :: Vector e -> Int # basicUnsafeSlice :: Int -> Int -> Vector e -> Vector e # basicUnsafeIndexM :: Monad m => Vector e -> Int -> m e # basicUnsafeCopy :: PrimMonad m => Mutable Vector (PrimState m) e -> Vector e -> m () # |