Is there some way to implement map function with two arguments where one isn’t an array, without creating a new array, since it can be too large.
Here is a very simple example of an idea.
map(+,[2,3],1)
Is there some way to implement map function with two arguments where one isn’t an array, without creating a new array, since it can be too large.
Here is a very simple example of an idea.
map(+,[2,3],1)
Are you looking for broacast
?
julia> broadcast(+, [2, 3], 1)
2-element Array{Int64,1}:
3
4
Thank you.
I hope that is I need.