Given a function f[x_,y_], and an array {{x1,y1},{x2,y2},...}, how would one go about applying the function to each {xn,yn}? I attempted using Map[f[#,#]&,array], but that applied the function like this f[{x1,y1},{x2,y2}],f[{x3,y3},{x4,y4}].
Asked
Active
Viewed 37 times
0
f @@@ array– Kuba Mar 21 '19 at 13:05Apply. – Henrik Schumacher Mar 21 '19 at 13:06