Mani chandra wrote:

> def select_mode(func,l,m,n):
>     val = (func*exp(-I*(l*x + m*y +
> n*z))).integrate(x,0,2*pi).integrate(y,0,2*pi).integrate(z,0,2*pi)
>     return val/(8*pi**3)

I guess l, m, and n are some integers between -2 and 2.
What is func? (I see the definition for it in the code but I'm
too lazy to try to compute it myself.)

Does the computation succeed with some simpler version of func?
As a wild guess in the absence of information, it is possible that
intermediate results in the integration are very large expressions.

Robert Dodier

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to