You can just do X[:,3] = 0.1 and the value will be broadcast.

> On Nov 21, 2014, at 8:06 AM, Ján Dolinský <jan.dolin...@2bridgz.com> wrote:
> 
> Thanks. Indeed, and that is why fill!(X[:,3], 0.1) does not update X. It 
> updates the brand new array which is a copy of 3rd column of X. Intuitively, 
> however, I would expect fill!(X[:,3], 0.1) to update the 3rd column of X.
> 
> Thanks for the clarification,
> Jan
> 

Reply via email to