Integration Over Polygons

asked 2016-10-21 15:48:39 +0200

mhaechre gravatar image

updated 2017-08-01 12:25:05 +0200

FrédéricC gravatar image

I'm looking for an open source alternative to Mathematica that provides an easy way to integrate functions over polygons. In Mathematica I can define a polygon R and integrate some function f(x,y) over it with a single command without having to determine the bounds of integration on x and y:

Integrate[f(x,y),{x,y}∈R]

Is it possible to do this type of integration in Sage? The polygons I need to integrate over have hundreds of vertices, so doing it piece-wise is not an option.

edit retag flag offensive close merge delete