Unformatted text preview: Is using a built-in function the same as using vectorized code? No. For example, if you write the statement s=sum(v) , you are calling a function and that is not vectorized code. The function sum may or may not use vectorized code to do the summing, but the function call that you write is just that, a function call— it does not perform an operation on multiple cells. Be sure to follow instructions on an exam! On some questions we want to see that you have mastered loops and indexing and therefore do not allow vectorized code. Similiarly, we may forbid the use of specific built-in functions on a question. A significant penalty will be applied if you do not follow instructions....
View Full Document
- Fall '07
- Addition, Euclidean vector, Summation