I'm doing MCMC simulation and a posterior is hard to sample.
Suppose I need to sample a vector $\beta \sim N(M_{\beta} , \Sigma_{\beta})1_{\beta_{K}>0}$, which mean $\beta$ is a vector with length K and the last element $\beta_{K}$ should be positive.