auto-opti.proba-dist
Probabilitisc distributions.
cumulative
(cumulative this p)Returns the cumulative probability before p
distribution
(distribution params)Returns a distribution created with the following parameters:
If provided, the following parameters are used: * registry is where dstb-name will be searched for, * dstb-name is the name of the distribution, defaulted to uniform, * prng if not provided, a prng is created with name prng-name and seed, * params the parameters of that distribution, check dstb-name definition to know what parameters are necessary., * seed if no prng is provided, it is built with seed, * prng-name the pseudo random number generator that is used to generate the distribution.
distribution-registry
Returns the base registry.
draw
(draw distribution)Returns a random value following the distribution.
draws
(draws distribution n)maximum
median
(median distribution)Returns the median of the distribution
minimum
quantile
resolve
(resolve dstb)Turns a distribution into its actual value