GaussianReference
| None = None) GaussianReference(domain: Domain
The standard \(d\)-dimensional Gaussian density, \(\mathcal{N}(\boldsymbol{0}_{d}, \boldsymbol{I}_{d})\).
The density can be truncated to a subinterval of the real numbers in each dimension.
Parameters
domain : Domain | None = None
-
The domain on which the density is defined in each dimension.
Methods
Name | Description |
---|---|
random | Generates a set of random samples. |
sobol | Generates a set of QMC samples. |
random
int, n: int) GaussianReference.random(d:
Generates a set of random samples.
Generates a set of random samples from the reference density.
Parameters
d : int
-
The dimension of the samples.
n : int
-
The number of samples to draw.
Returns
rs : Tensor
-
An \(n \times d\) matrix containing the generated samples.
sobol
int, n: int) GaussianReference.sobol(d:
Generates a set of QMC samples.
Generates a set of QMC samples from the reference density using a Sobol sequence.
Parameters
d : int
-
The dimension of the samples.
n : int
-
The number of samples to generate.
Returns
rs : Tensor
-
An \(n \times d\) matrix containing the generated samples.