|
|
|
|
| Synopsis |
|
|
|
| Documentation |
|
| class Sampleable d m t where | Source |
|
| A typeclass allowing Distributions and RVars to be sampled. Both may
also be sampled via runRVar or runRVarT, but I find it psychologically
pleasing to be able to sample both using this function.
| | | Methods | | | Directly sample from a distribution or random variable, using the given source of entropy.
|
| | Instances | |
|
|
|
| Sample a distribution using the default source of entropy for the
monad in which the sampling occurs.
|
|
| Produced by Haddock version 2.4.2 |