Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. 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