| Safe Haskell | None |
|---|
Numeric.MCMC.Flat
Documentation
data MarkovChain Source
State of the Markov chain. Current ensemble position is held in theta,
while accepts counts the number of proposals accepted.
Constructors
| MarkovChain | |
Instances
| Show MarkovChain | Display the current state. This will be very slow and should be replaced. |
Options for the chain. The target (expected to be a log density), as
well as the size of the ensemble. The size should be an even number. Also
holds the specified parallel granularity as csize.
runChain :: Options -> Int -> Int -> MarkovChain -> Gen RealWorld -> IO MarkovChainSource
Diffuse through states.