aivika-0.7: A multi-paradigm simulation library

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

Simulation.Aivika.Parameter.Random

Description

Tested with: GHC 7.6.3

This module defines the random parameters of simulation experiments.

Synopsis

Documentation

newRandomParameterSource

Arguments

:: Simulation Double

minimum

-> Simulation Double

maximum

-> IO (Simulation Double) 

Create a new random parameter distributed uniformly. The value doesn't change within the simulation run but then the value is recalculated for each new run.

newNormalParameterSource

Arguments

:: Simulation Double

mean

-> Simulation Double

variance

-> IO (Simulation Double) 

Create a new random parameter distributed normally. The value doesn't change within the simulation run but then the value is recalculated for each new run.