aivika-1.0: A multi-paradigm simulation library

Stabilityexperimental
MaintainerDavid Sorokin <david.sorokin@gmail.com>
Safe HaskellSafe-Inferred

Simulation.Aivika.Dynamics.Random

Description

Tested with: GHC 7.6.3

This module defines the random parameters of simulation experiments.

Synopsis

Documentation

memoRandomUniformDynamicsSource

Arguments

:: Dynamics Double

minimum

-> Dynamics Double

maximum

-> Simulation (Dynamics Double) 

Computation that generates random numbers distributed uniformly and memoizes them in the integration time points.

memoRandomNormalDynamicsSource

Arguments

:: Dynamics Double

mean

-> Dynamics Double

deviation

-> Simulation (Dynamics Double) 

Computation that generates random numbers distributed normally and memoizes them in the integration time points.

memoRandomExponentialDynamicsSource

Arguments

:: Dynamics Double

the mean (the reciprocal of the rate)

-> Simulation (Dynamics Double) 

Computation that generates exponential random numbers with the specified mean (the reciprocal of the rate) and memoizes them in the integration time points.

memoRandomErlangDynamicsSource

Arguments

:: Dynamics Double

the scale (the reciprocal of the rate)

-> Dynamics Int

the shape

-> Simulation (Dynamics Double) 

Computation that generates the Erlang random numbers with the specified scale (the reciprocal of the rate) and integer shape but memoizes them in the integration time points.

memoRandomPoissonDynamicsSource

Arguments

:: Dynamics Double

the mean

-> Simulation (Dynamics Int) 

Computation that generats the Poisson random numbers with the specified mean and memoizes them in the integration time points.

memoRandomBinomialDynamicsSource

Arguments

:: Dynamics Double

the probability

-> Dynamics Int

the number of trials

-> Simulation (Dynamics Int) 

Computation that generates binomial random numbers with the specified probability and trials but memoizes them in the integration time points.