On Sun, Sep 6, 2020 at 10:03 AM Teodoro Coluccio <teodoro.coluc...@gmail.com> wrote:
> Can I perform triple integrals in a region of space I define? I'm trying > to migrate from mathematica to sage, and in mathematica I could go and > define a region of space (with various limitations) and then perform the > integral of a function on it. in general, there are no exact algorithms known for such a task. Mathematica does implement some heuristics, it's not clear which ones. In your example you're integrating a polynomial over a polytope, for this case it's known how to do this exactly: triangulate the region into simplices, then use an explicit formula for each simplex. Perhaps that's what Mathematica doing, they don't tell us. https://arxiv.org/abs/0809.2083 Not implemented in Sage, but it would be a nice addition. > Here is an explanatory image: > [image: screen.png] > Is there a way to easily perform this operation even in sage? > > -- > You received this message because you are subscribed to the Google Groups > "sage-support" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to sage-support+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/sage-support/2f4b4ec1-5661-490a-925d-6d038692bc0dn%40googlegroups.com > <https://groups.google.com/d/msgid/sage-support/2f4b4ec1-5661-490a-925d-6d038692bc0dn%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-support/CAAWYfq3TE%2Bvr5O20F1C%3DCBb%3DtCVgrqdqFBbtmOHQz-ouAnA0NQ%40mail.gmail.com.