x .= a
just fills x
with a
’s when they are scalars, regardless of how you got a
.
rand.()
gives you a scalar. The dot has no effect here, as there is nothing to broadcast over, so it is the same as rand()
.
x .= a
just fills x
with a
’s when they are scalars, regardless of how you got a
.
rand.()
gives you a scalar. The dot has no effect here, as there is nothing to broadcast over, so it is the same as rand()
.