Skip to content

Normal¤

distreqx.distributions.normal.Normal (AbstractProbDistribution) ¤

Normal distribution with location loc and scale parameters.

__init__(self, loc: Array, scale: Array) ¤

Initializes a Normal distribution.

Arguments:

  • loc: Mean of the distribution.
  • scale: Standard deviation of the distribution.
entropy(self) -> Array ¤

Calculates the Shannon entropy (in nats).