brian-j-smith/Mamba.jl

Constraints on domain of logpdf?

jluoaz opened this issue · 1 comments

I want to sample from a PDF that has domain only on the positive reals. How would I indicate that in my implementation of the log PDF?

Define your log PDF function to return -Inf for any values that are outside the domain - non-positive reals in this case.