Parameters
double
x0
The initial sample.
DensityLn<T>
pdfLnP
The log density of the distribution we want to sample from.
int
frogLeapSteps
Number frog leap simulation steps.
double
stepSize
Size of the frog leap simulation steps.
int
burnInterval
The number of iterations in between returning samples.
double
pSdv
The standard deviation of the normal distribution that is used to sample the momentum.