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.
unzipVector :: (Storable a, Storable b, Storable (a, b)) => Vector (a, b) -> (Vector a, Vector b)hmatrix Numeric.LinearAlgebra.Devel unzip for Vectors
-
hmatrix Numeric.LinearAlgebra.Devel unzipWith for Vectors
writeVector :: Storable t => STVector s t -> Int -> t -> ST s ()hmatrix Numeric.LinearAlgebra.Devel No documentation available.
zipVector :: (Storable a, Storable b, Storable (a, b)) => Vector a -> Vector b -> Vector (a, b)hmatrix Numeric.LinearAlgebra.Devel zip for Vectors
-
hmatrix Numeric.LinearAlgebra.Devel zipWith for Vectors
randomVector :: forall (n :: Nat) . KnownNat n => Seed -> RandDist -> R nhmatrix Numeric.LinearAlgebra.Static No documentation available.
withVector :: Vector ℝ -> (forall (n :: Nat) . KnownNat n => R n -> z) -> zhmatrix Numeric.LinearAlgebra.Static No documentation available.
-
hmatrix Numeric.LinearAlgebra.Static No documentation available.
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]]
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]