If the operators and functions you use in the body of your function work on vectors, then your function will probably work on vectors. The function matches up corresponding elements from the two input...If the operators and functions you use in the body of your function work on vectors, then your function will probably work on vectors. The function matches up corresponding elements from the two input vectors, so the elements of C are the hypotenuses of the pairs \((3,4)\), \((5,12)\), and \((8,15)\), respectively. Another common vector operation is cumulative sum, which takes a vector as an input and computes a new vector that contains all of the partial sums of the original.