1D sampler, abstract base class for Sampler like Sampler1DUnif, Sampler1DRfun, Sampler1DCateg and Sampler1DNormal.
R6::R6Class inheriting from Sampler.
Note: This object is typically constructed via a derived classes, e.g. Sampler1DUnif, Sampler1DRfun, Sampler1DCateg or Sampler1DNormal.
smpl = Sampler1D$new(param)
param
:: Param
Domain / support of the distribution we want to sample from.
See Sampler. Additionally, the class provides:
param
:: Param
Returns the one Parameter that is sampled from.
See Sampler.
Other Sampler:
Sampler1DCateg
,
Sampler1DNormal
,
Sampler1DRfun
,
Sampler1DUnif
,
SamplerHierarchical
,
SamplerJointIndep
,
SamplerUnif
,
Sampler