Parameters
double
x0
The initial sample.
DensityLn<T>
pdfLnP
The density of the distribution we want to sample from.
double
scale
The scale factor of the slice sampler.