It was my fault and I asked the wrong question. I apologize and delete the question.
The second expression does something like the following, but without introducing a binding that makes things clear, no?
x = rand(150)
x .= rand(150) .<= 0.1
1 Like
Yes it is definitely clearer but I don’t know if code rand(150) .= rand(150) .<= 0.1
is exactly equal to
x = rand(150) x .= rand(150) .<= 0.1
.
Are they exactly equal?
and what’s the main answer?
tnx