Loading [MathJax]/jax/output/HTML-CSS/jax.js
Ask Your Question
0

Integration in Sage

asked 11 years ago

assadabbasi gravatar image

Hi,

I am working on a problem in Lattice theory where I have to integrate polynomials with thousands of terms. And the integration is in 8 dimensions (means its not a single integral but 8 integrals). I am using integral() in sage to integrate the polynomials. It takes too much time to integrate the polynomials. Is there any way to speed up this integration in sage?

Preview: (hide)

1 Answer

Sort by » oldest newest most voted
2

answered 11 years ago

calc314 gravatar image

updated 11 years ago

I don't know all the details of what you are doing. However, since you are working with polynomials, you might be able to define a map that gives you the integral directly without calling Sage's integration. For p(x)=Nn=0anxn, an antiderivative is P(x)=P0+Nn=0anxn+1n+1. So, you can define a Sage function that extracts the coefficients and then produces the antiderivative.

Preview: (hide)
link

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 11 years ago

Seen: 301 times

Last updated: Apr 29 '13