random_distribution
Overloads
| Name | Description |
|---|---|
random_distribution(const string distribution_name) -> Distribution | Constructs a probability distribution of the given name with the given parameters. |
random_distribution(const string distribution_name, const Map parameters) -> Distribution | Constructs a probability distribution of the given name with the given parameters. |
random_distribution(const string distribution_name) -> Distribution
Constructs a probability distribution of the given name with the given parameters.
Parameters
- distribution_name: Name of probability distribution
Returns
A distribution.
random_distribution(const string distribution_name, const Map parameters) -> Distribution
Constructs a probability distribution of the given name with the given parameters.
Parameters
- distribution_name: Name of probability distribution
- parameters: A dictionary of parameters. The names of the parameters depend on the distribution.
Returns
A distribution.