Open
Description
From https://discourse.julialang.org/t/using-with-a-vector/6025.
x = rand(3)
√(x)
results in
WARNING: sqrt{T <: Number}(x::AbstractArray{T}) is deprecated, use sqrt.(x) instead.
sqrt.(x)
works fine, but √.(x)
results in
ERROR: syntax: invalid identifier name "."
since √ is an infix op (so .√(x)
should be used, or (√).(x)
).
Could √.(x)
be made to work?