Control.Monad.MC

Monte Carlo monad transformer

data MC m a

type STMC s a

type IOMC a

evalMC

Random number generator

Types

data RNG s

type IORNG

type STRNG s

type Seed

Creation

mt19937

mt19937WithState

State

getRNGName

getRNGSize

getRNGState

setRNGState

Random number distributions

Uniform

uniform

uniformInt

Continuous

normal

exponential

gamma

cauchy

levy

levySkew

pareto

weibull

logistic

beta

Discrete

bernoulli

poisson

Multivariate

dirichlet

multinomial

Sampling

Lists

sample

sampleWithWeights

sampleSubset

sampleSubsetWithWeights

shuffle

Ints

sampleInt

sampleIntWithWeights

sampleIntSubset

sampleIntSubsetWithWeights

shuffleInt

Repeating computations

foldMC

repeatMC

replicateMC