I am trying to integrate a multivariable function in scipy over a 2d area. What would be the equivalent of the following Mathematica code?
In[1]:= F[x_, y_] := Cos[x] + Cos[y]
In[2]:= Integrate[F[x, y], {x, -\[Pi], \[Pi]}, {y, -\[Pi], \[Pi]}]
Out[2]= 0
Looking at the scipy documentation I could only find support for one dimensional quadrature. Is there a way to do multidimensional integrals in scipy?