cuqi.distribution.Distribution.logpdf#

abstract Distribution.logpdf(x)#

Evaluate the log probability density function of the distribution.

If the logpdf is only needed for MCMC sampling, consider using the un-normalized log density function logd() instead of the logpdf for efficiency.