ASKSAGE: Sage Q&A Forum - RSS feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Fri, 21 Oct 2016 15:48:39 +0200Integration Over Polygonshttps://ask.sagemath.org/question/35210/integration-over-polygons/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.Fri, 21 Oct 2016 15:48:39 +0200https://ask.sagemath.org/question/35210/integration-over-polygons/