aivika-0.6: 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

Below are defined random functions that mostly return discrete processes. Literally, it means that the values are initially defined in integration time points and then they are passed to the discrete function.

Synopsis

Documentation

newRandomSource

Arguments

:: Dynamics Double

minimum

-> Dynamics Double

maximum

-> Simulation (Dynamics Double) 

Return the uniform random numbers in the integration time points.

newNormalSource

Arguments

:: Dynamics Double

mean

-> Dynamics Double

variance

-> Simulation (Dynamics Double) 

Return the normal random numbers in the integration time points.

normalGen :: IO (IO Double)Source

Normal random number generator with mean 0 and variance 1.