Info

此问题已关闭。 请重新打开它进行编辑或回答。

slice sampler with constraints

1 次查看(过去 30 天)
ektor
ektor 2020-6-5
关闭: MATLAB Answer Bot 2021-8-20
Dear all,
I have a function
logPDF=@(x) logpost_1(x, y, lam0, gam0);
x1 = slicesample(gam,kk,'logPDF',logPDF);
where this function is under the constraint x+lam0<0.999
Is there a way of imposing this restriction on the above function?
Best

回答(0 个)

此问题已关闭。

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by