I have a function of two arguments, f[x_,y_]
, and I want to sum the value of this function for a number of input tuples {x,y}
which are in a list. I don't see any way of doing this with Sum
. I could write a loop but I'd like to know if there's a better way.
Edit:
Specifically, my function is actually a matrix where the elements are determined by x
and y
.