Solved! Go to Solution.
How about attaching the Prime worksheet?
The phenomenon isn't strange. You forgot to vectorise the expression:
Certain mathematical operations are automatically vectorised. V2 isn't one of those. But with the acos added (V1) that part is vectorised. Observe the difference between:
And compare that to using the range:
Success!
Luc
How about attaching the Prime worksheet?
The phenomenon isn't strange. You forgot to vectorise the expression:
Certain mathematical operations are automatically vectorised. V2 isn't one of those. But with the acos added (V1) that part is vectorised. Observe the difference between:
And compare that to using the range:
Success!
Luc
Thanks Much.
I started making a more documented sheet as per your request and saw that it was indeed trying to dot-product the term that was not behaving as expected, but I had not played with the "vectorize" function in all the years I've used Mathcad.
As best practice, should this be employed whenever we pass an array to a generic function?
Bill.
