Yes, I know. But the manual says: "Some operators without dots operate elementwise anyway when one argument is a scalar. These operators are *, /, \, and the bitwise operators."
On Thursday, September 25, 2014 12:55:16 AM UTC+2, Leah Hanson wrote:
>
> No comment on the rest, but the element-wise division operator is `./`,
> which does work:
>
> ~~~
> julia> x1 = [1.0, 1, 1];
>
> julia> 1.0 ./ x1
> 3-element Array{Float64,1}:
> 1.0
> 1.0
> 1.0
> ~~~
>
> -- Leah
>
>
