NegationDistribution
- class qdflow.util.distribution.NegationDistribution(dist)
Bases:
Distribution[T],Generic[T]A distribution defined by the negation of the value drawn from another distribution.
- Parameters:
dist (Distribution[T]) – The distribution to negate.
- __init__(dist)
Methods
draw(rng[, size])Draws one or more samples from the distribution.