e.g. for a function like this:
tupleFun(a::Float64) = (a+1, a-1);
if I use
@vectorize_1arg Float64 tupleFun
I get for:
typeof( tupleFun(rand(3,3)) )
Array{Tuple{Float64,Float64},2}
How can I get a function which returns:
Tuple{Array{Float64,2},Array{Float64,2}}
(without an explicit for loop over all elements)
- [julia-users] How to vectorize a function which has a t... Hakuna M.
- [julia-users] Re: How to vectorize a function whic... Christopher Fisher
- [julia-users] Re: How to vectorize a function whic... Chris Rackauckas
