Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! X
Solved! Go to Solution.
In other words: In your functioin, working with vectors, you need to vectorise the xpression to get the desired result, is what ttokoro shows.
Success!
Luc