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