| Stability | experimental |
|---|---|
| Maintainer | David Sorokin <david.sorokin@gmail.com> |
| Safe Haskell | Safe-Inferred |
Simulation.Aivika.Parameter.Random
Description
Tested with: GHC 7.6.3
This module defines the random parameters of simulation experiments.
- newRandomParameter :: Simulation Double -> Simulation Double -> IO (Simulation Double)
- newNormalParameter :: Simulation Double -> Simulation Double -> IO (Simulation Double)
Documentation
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.
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.