iarray.random.normal#

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

Draw random samples from a normal (Gaussian) distribution.

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

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

  • loc (float) – Mean (“centre”) of the distribution.

  • scale (float) – Standard deviation (spread or “width”) of the distribution. Must be non-negative.

Returns

The new array.

Return type

IArray container

See also

random_sample

References

np.random.normal