Hi, I am working on a Markov chain Monte Carlo script right now and am trying to figure out the parameter generation part of the script. In pseudocode, I am trying to do
a = 0.1
b = 0.1
c = 0.1
function gen()
a = a + rand()
b = b + rand()
c = c + rand()
if a & b & c >= 0
return a,b,c
end
However, this returns the error message *ERROR: no method &(Float64)*
How do I combine my comparisons and compare floats?
Thanks for your help,
WX
