Open
Description
It'd be nice to be able to match our models and do something like this:
sigma_sim <- normal_rng(mu, sigma) T[lb, ];
to get a truncated form of the normal (and so on for upper and lower bounds and just upper bounds).
What we need in this repo is truncated forms of the PRNGs. Rejection sampling won't be robust enough and writing a slice sampler seems like a huge pain and I'm not even clear it'll work for fat tails like the Cauchy or constrained distributions without transformed. Will this have to wait until we have inverse CDFs?