JointVariable

class pyapprox.variables.JointVariable[source]

Bases: ABC

Base class for multivariate variables.

Methods Summary

rvs(num_samples)

Generate samples from a random variable.

Methods Documentation

abstract rvs(num_samples)[source]

Generate samples from a random variable.

Parameters:
num_samplesinteger

The number of samples to generate

Returns:
samplesnp.ndarray (num_vars, num_samples)

Independent samples from the target distribution