Copyright | Copyright (c) 2009-2013, David Sorokin <david.sorokin@gmail.com> |
---|---|
License | BSD3 |
Maintainer | David Sorokin <david.sorokin@gmail.com> |
Stability | experimental |
Safe Haskell | Safe-Inferred |
Language | Haskell98 |
Tested with: GHC 7.6.3
This module defines the random parameters of simulation experiments.
- memoRandomUniformDynamics :: Dynamics Double -> Dynamics Double -> Simulation (Dynamics Double)
- memoRandomNormalDynamics :: Dynamics Double -> Dynamics Double -> Simulation (Dynamics Double)
- memoRandomExponentialDynamics :: Dynamics Double -> Simulation (Dynamics Double)
- memoRandomErlangDynamics :: Dynamics Double -> Dynamics Int -> Simulation (Dynamics Double)
- memoRandomPoissonDynamics :: Dynamics Double -> Simulation (Dynamics Int)
- memoRandomBinomialDynamics :: Dynamics Double -> Dynamics Int -> Simulation (Dynamics Int)
Documentation
memoRandomUniformDynamics Source
Computation that generates random numbers distributed uniformly and memoizes them in the integration time points.
memoRandomNormalDynamics Source
Computation that generates random numbers distributed normally and memoizes them in the integration time points.
memoRandomExponentialDynamics Source
:: 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.
memoRandomErlangDynamics Source
:: 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.
memoRandomPoissonDynamics Source
:: 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.
memoRandomBinomialDynamics Source
Computation that generates binomial random numbers with the specified probability and trials but memoizes them in the integration time points.