make_uniform_distribution

fireopal.make_uniform_distribution(uncertainty)

Create parameters for a uniform probability distribution.

Parameters

uncertainty (int) – The number of discrete points for the distribution. Must be an integer greater than or equal to 2.

Returns

dict[str, Any] – A dictionary containing the parameters of the uniform distribution, suitable for use with make_monte_carlo_problem().

Was this useful?