Skip to main content
7 events
when toggle format what by license comment
Feb 15, 2013 at 13:54 vote accept Emil Bostrom
Feb 15, 2013 at 11:02 comment added Emil Bostrom I can get it to work if I compile using NSum instead of Sum, so the problem must have to do with Mathematica trying to do the sum symbolically.
Feb 14, 2013 at 20:36 comment added Dr. belisarius @EmilBostrom already tried that to no avail
Feb 14, 2013 at 19:19 comment added Emil Bostrom By the way Alpha above should be 1/2.
Feb 14, 2013 at 19:08 comment added Emil Bostrom I like the approximative approach and will definitely try that out. Ideally however I would like to have the function in an exact (or close to) form since I'm going to use it in quite precise calculations. I've tried to compile the function starting from the definition according to Compile[{x, y, z}, Sum[n^2*Exp[-n^2*(1/z - 1)^\[Alpha]*(1 - y) - m^2 (1/z - 1)^\[Alpha]*(1 - x) - 2*n*m (1/z - 1)^\[Alpha]*(-1 + x + y)], {n, -Infinity, Infinity}, {m, -Infinity, Infinity}]] but I'm having trouble integrating that as well. Any thoughts?
Feb 14, 2013 at 18:59 vote accept Emil Bostrom
Feb 14, 2013 at 18:59
Feb 14, 2013 at 18:50 history answered Dr. belisarius CC BY-SA 3.0