mtalg.random.normal

normal(loc: Number = 0.0, scale: Number = 1.0, size: int | tuple | None = None) ndarray | Number[source]

Draw from the normal distribution.

Parameters:
  • loc – Mean of the distribution.

  • scale – Standard deviation of the distribution.

  • size – Output shape.

Returns:

numpy.ndarray or scalar.