What has happened, two months later, to the (in)famous 'dot' notation in
Julia?
There was such a convincing discussion that 5 + x shall not be correct, so
I got used to it. When I now by chance try
julia> x = [0.1, 0.2, 0.3];
julia> 5 + x
3-element Array{Float64,1}:
5.1
5.2
5.3
julia> versioninfo()
Julia Version 0.3.0-prerelease+3921
Commit 0b46af5* (2014-06-28 02:01 UTC)
Platform Info:
System: Linux (x86_64-linux-gnu)
CPU: Intel(R) Core(TM) i3-3217U CPU @ 1.80GHz
WORD_SIZE: 64
BLAS: libblas.so.3
LAPACK: liblapack.so.3
LIBM: libopenlibm
[ PS: This was the last PPA update I could get on Ubuntu. ]
On Friday, May 2, 2014 3:55:20 PM UTC+2, Hans W Borchers wrote:
>
> I have to admit that I am quite unhappy with some of the changed features
> in
> Julia version 0.3.0, especially the 'dot' notation. Here are some examples.
>
>
> Let x be a vector defined as x = [0.1, 0.2, 0.3] . Then typing
>
> julia> 5 + x
> WARNING: x::Number + A::Array is deprecated, use x .+ A instead.
>
>