1D sampler, abstract base class for Sampler like Sampler1DUnif, Sampler1DRfun, Sampler1DCateg and Sampler1DNormal.
Returns the one Parameter that is sampled from.
Creates a new instance of this R6 class.
Note that this object is typically constructed via derived classes, e.g., Sampler1DUnif.
Domain / support of the distribution we want to sample from.
The objects of this class are cloneable with this method.
Sampler1D$clone(deep = FALSE)
Whether to make a deep clone.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.