MetropolisSamplerT Constructor |
Constructs a new Metropolis sampler using the default
Random random number generator.
Namespace: Altaxo.Calc.Statistics.McmcAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax public MetropolisSampler(
T x0,
DensityLn<T> pdfLnP,
LocalProposalSampler<T> proposal,
int burnInterval = 0
)
Parameters
- x0 T
- The initial sample.
- pdfLnP DensityLnT
- The log density of the distribution we want to sample from.
- proposal LocalProposalSamplerT
- A method that samples from the symmetric proposal distribution.
- burnInterval Int32 (Optional)
- The number of iterations in between returning samples.
Exceptions See Also