Hoogle Search
Within LTS Haskell 24.32 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
hToVector :: HStructure (s :: Type -> Type) -> s Double -> Positionsmcmc Mcmc.Proposal.Hamiltonian.Common Extract a a subset of values to be manipulated by the Hamiltonian proposal from the complete state.
simplexFromVector :: Vector Double -> Either String Simplexmcmc Mcmc.Proposal.Simplex Ensure that the value vector is an element of a simplex. Return Left if: - The value vector is empty. - The value vector contains negative elements. - The value vector is not normalized.
type
UVectorCache s e = Cache UVector s emonad-memo Control.Monad.Memo MonadCache based on unboxed vector
class MaybeLike e v =>
UVectorMemo v e | v -> emonad-memo Control.Monad.Memo This is just to be able to infer the type of the UVectorCache element.
-
monad-memo Control.Monad.Memo Evaluate computation using mutable unboxed vector Vector length must covers all possible keys used in computation otherwise index out of bound error is generated by vector code
evalVectorMemo :: (PrimMonad m, VectorMemo v e) => VectorCache (PrimState m) e m a -> Int -> m amonad-memo Control.Monad.Memo Evaluate computation using mutable boxed vector Vector length must covers all possible keys used in computation otherwise index out of bound error is generated by vector code
-
monad-memo Control.Monad.Memo Evaluate computation using mutable unboxed vector. It also returns the final content of the vector cache Vector length must covers all possible keys used in computation otherwise index out of bound error is generated by vector code
-
monad-memo Control.Monad.Memo Evaluate computation using mutable boxed vector. It also returns the final content of the vector cache Vector length must covers all possible keys used in computation otherwise index out of bound error is generated by vector code
-
monad-memo Control.Monad.Memo.Vector Unboxed vector
type
UVectorCache s e = Cache UVector s emonad-memo Control.Monad.Memo.Vector MonadCache based on unboxed vector