CorrelatedDistribution

class qdflow.util.distribution.CorrelatedDistribution

Bases: Distribution[ndarray[tuple[int, …], dtype[Any]]], Generic[T]

An abstract class which defines a random distribution in multiple, correlated variables.

Subclasses must implement the draw() function, which draws one or more sets of values from the distribution.

A set of linked, single-variable Distributions can be obtained via the dependent_distributions() function.

__init__()

Methods

dependent_distributions()

Returns a set of linked, single-variable distributions.

draw(rng[, size])

Draws one or more samples from the distribution.