FullyCorrelated
- class qdflow.util.distribution.FullyCorrelated(dist, n)
Bases:
CorrelatedDistribution[T],Generic[T]A
CorrelatedDistributionwhich returnsncopies of the value drawn from aDistribution.- Parameters:
dist (Distribution[T]) – The distribution to draw values from.
n (int) – The number of variables. All variables will yield the same values as one another on a given draw.
- __init__(dist, n)
Methods
draw(rng[, size])Draws one or more samples from the distribution.