Uniform
- Uniform(low, high, value=None, *, n=None, **kwargs)[source]
Create a Parameter with a uniform distribution.
- Parameters:
low (float | Sequence[float]) – The lower value of the distribution. Can be a sequence for a multi-valued Parameter.
high (float | Sequence[float]) – The upper value of the distribution. Can be a sequence for a multi-valued Parameter.
value (optional) – The initial value. If None, the midpoint of the distribution is used. Defaults to None.
n (int, optional) – The number of identical parameters to create in an array. Defaults to None.
**kwargs – Additional keyword arguments passed to the Parameter constructor.
- Returns:
The created Parameter object.
- Return type: