| Hi. I need to sum over a bessel function K: How ever I get an error:
Which sounds logical. I there any way around this? Thanks |
| Yes, as you say, something like However, So we get errors trying to sum over negative numbers. There is also the scipy algorithm. But this also does not play well with negative input. There is also the problem that bessel_k(0,0) is undefined, if you were going to do that. You could try using Maxima inside Sage, which does give negative input meaning. But it won't do anything symbolic with a sum to infinity of Bessel K. Notice also the very large imaginary part, which I have no idea whether to trust.
Thanks. I need to sum over positive and negative k and I will not include K(0,0).
yotama9 (Jun 09 '11) |
| The
So there is no way around this, perhaps using a for loop...
yotama9 (Jun 06 '11) |
Asked: Jun 05 '11
Seen: 261 times
Last updated: Jun 06 '11
powered by ASKBOT version 0.7.22
Copyright Sage, 2010. Some rights reserved under creative commons license.