LogNormal

class qdflow.util.distribution.LogNormal(mu, sigma)

Bases: Distribution[float]

A log-normal distribution defined by mu and sigma.

Note that mu and sigma are the mean and standard deviation of the underlying normal distribution, not of the log-normal distribution itself.

Parameters:
  • mu (float) – The mean of the underlying normal distribution.

  • sigma (float) – The standard deviation of the underlying normal distribution.

__init__(mu, sigma)

Methods

draw(rng[, size])

Draws one or more samples from the distribution.