LogUniform

class qdflow.util.distribution.LogUniform(min, max)

Bases: Distribution[float]

A log-uniform (reciprocal) distribution between min and max.

Parameters:
  • min (float) – The minimum value that can be drawn. Must be positive.

  • max (float) – The maximum value that can be drawn. Must be positive.

__init__(min, max)

Methods

draw(rng[, size])

Draws one or more samples from the distribution.