UniformDistribution
Create a continuous uniform distribution on \([a,b]\).
Declaration
self = UniformDistribution(a=<value>,b=<value>)
Parameters
options.alower endpoint of the interval, default-0.5options.bupper endpoint of the interval, default0.5
Returns
selfUniformDistribution instance
Discussion
When called with no inputs, the constructor uses the default interval \([-0.5,0.5].\) If either endpoint is omitted, the remaining endpoint uses its default value.