iarray.random.beta#

iarray.random.beta(shape: Sequence, alpha: float, beta: float, cfg: Optional[Config] = None, **kwargs) IArray#

Draw samples from a Beta distribution.

The cfg and kwargs parameters are the same than in random_sample().

Parameters
  • shape (Sequence) – The shape of the array to be created.

  • alpha (float) – Alpha, positive (>0).

  • beta (float) – Beta, positive (>0).

Returns

The new array.

Return type

IArray container

See also

random_sample

References

np.random.beta