Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

4
  • Any magical mathematician around? It really looks unefficient to make the double for loop. Commented Jul 23, 2010 at 22:33
  • 2
    Alejandro: If you want N_x * N_y independently calculated exponentials, then A is not a matrix anymore but just a bunch of numbers. :-) Commented Jul 23, 2010 at 22:40
  • 1
    If you want a mathemagician, I'd go to a math forum or something of a similar nature (like www.askdrmath.com) and try their knowledge. It can't hurt to try! Commented Jul 23, 2010 at 22:44
  • kaize.se: You're right, doesn't smell like improving the double for loop :-( BTW, I sent the question to Dr. Math as Rafe suggested just in case some magical mathematician is online. Commented Jul 23, 2010 at 23:06