There is no need to annotate your function argument types so tightly, unless 
you have a good reason for it.

You will generate a lot of temporaries in your V = ...

Rewrite it as a loop and it will be a lot faster. You could also take a look at 
the Devectorize.jl package.

Reply via email to