Hoogle Search

Within LTS Haskell 24.6 (ghc-9.10.2)

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

  1. unzipVector :: (Storable a, Storable b, Storable (a, b)) => Vector (a, b) -> (Vector a, Vector b)

    hmatrix Numeric.LinearAlgebra.Devel

    unzip for Vectors

  2. unzipVectorWith :: (Storable (a, b), Storable c, Storable d) => ((a, b) -> (c, d)) -> Vector (a, b) -> (Vector c, Vector d)

    hmatrix Numeric.LinearAlgebra.Devel

    unzipWith for Vectors

  3. writeVector :: Storable t => STVector s t -> Int -> t -> ST s ()

    hmatrix Numeric.LinearAlgebra.Devel

    No documentation available.

  4. zipVector :: (Storable a, Storable b, Storable (a, b)) => Vector a -> Vector b -> Vector (a, b)

    hmatrix Numeric.LinearAlgebra.Devel

    zip for Vectors

  5. zipVectorWith :: (Storable a, Storable b, Storable c) => (a -> b -> c) -> Vector a -> Vector b -> Vector c

    hmatrix Numeric.LinearAlgebra.Devel

    zipWith for Vectors

  6. randomVector :: forall (n :: Nat) . KnownNat n => Seed -> RandDist -> R n

    hmatrix Numeric.LinearAlgebra.Static

    No documentation available.

  7. withVector :: Vector ℝ -> (forall (n :: Nat) . KnownNat n => R n -> z) -> z

    hmatrix Numeric.LinearAlgebra.Static

    No documentation available.

  8. zipWithVector :: forall (n :: Nat) . (Domain field vec mat, KnownNat n) => (field -> field -> field) -> vec n -> vec n -> vec n

    hmatrix Numeric.LinearAlgebra.Static

    No documentation available.

  9. chunkVector :: Vector v a => Int -> InputStream a -> IO (InputStream (v a))

    io-streams System.IO.Streams.Vector

    Splits an input stream into chunks of at most size n. Example:

    ghci> (fromList [1..14::Int] >>= chunkVector 4 >>= toList)
    :: IO [Vector Int]
    [fromList [1,2,3,4],fromList [5,6,7,8],fromList [9,10,11,12],fromList [13,14]]
    

  10. fromVector :: Vector v a => v a -> IO (InputStream a)

    io-streams System.IO.Streams.Vector

    Transforms a vector into an InputStream that yields each of the values in the vector in turn.

    ghci> import Control.Monad
    ghci> import qualified System.IO.Streams as Streams
    ghci> import qualified Data.Vector as V
    ghci> let v = V.fromList [1, 2]
    ghci> is <- Streams.fromVector v
    ghci> replicateM 3 (Streams.read is)
    [Just 1,Just 2,Nothing]
    

Page 46 of many | Previous | Next