mcmc-samplers-0.1.0.0: A library of combinators to build MCMC kernels, proposals, and targets

Safe HaskellNone

Kernels

Documentation

type Step x = Rand -> x -> IO xSource

type Kernel x a = Target a -> (a -> Proposal a) -> Step xSource

walk :: Step x -> x -> Int -> Rand -> Action x IO a b -> IO bSource

cycleKernel :: Kernel x a -> Target a -> [a -> Proposal a] -> Step xSource