this is correct. note that you can opt-out expressions from inside @. via $ like so
julia> @. ($z(2) - x)
2-element Vector{Float64}:
0.0
0.0
z.(2)andz(2)are the same, which I still don’t understand.
this is simply because integers are iterable, unfortunately
julia> collect(i for i in 2)
0-dimensional Array{Int64, 0}:
2
edit:
eesh there is indeed some extra confusing thing going on with dot fusion