Click or drag to resize

UnivariateSliceSampler(Double, DensityLnDouble, Int32, Double) Constructor

Constructs a new slice sampler using the default Random random number generator. It will set the number of burnInterval iterations and run a burnInterval phase.

Namespace: Altaxo.Calc.Statistics.Mcmc
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public UnivariateSliceSampler(
	double x0,
	DensityLn<double> pdfLnP,
	int burnInterval,
	double scale
)

Parameters

x0  Double
The initial sample.
pdfLnP  DensityLnDouble
The density of the distribution we want to sample from.
burnInterval  Int32
The number of iterations in between returning samples.
scale  Double
The scale factor of the slice sampler.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionWhen the number of burnInterval iteration is negative.
ArgumentOutOfRangeExceptionWhen the scale of the slice sampler is not positive.
See Also