On Mon, Oct 27, 2008 at 2:37 PM, Neal Becker <[EMAIL PROTECTED]> wrote: > > On Friday 24 October 2008, Fredrik Johansson wrote: >> On Fri, Oct 24, 2008 at 3:53 PM, Neal Becker <[EMAIL PROTECTED]> wrote: >> > I'm a noob to sympy. I need something to replace ive from cephes. iv is >> > the modified bessel function of order v, while ive is the exponentially >> > scaled version: exp(-|x|) I(v,x) >> > >> > Any suggestions? >> >> Replace how? What features do you need? >> >> Fredrik >> > Sorry, I'll try to describe better. > > I have a calculation of probability which involves things like factorial, > exponential, and also Ive. It was working fine using scipy. Now I need to > extend it to larger parameter values, and the calculation blows up (involves > things like 512!). I thought, why not try using sympy? It has extended > precision. I noticed that sympy has some bessel functions, but not the ones I > need. > > Since then, I've noticed an extended precision floating point module for > python, clnum > http://pypi.python.org/pypi/clnum/1.5 > This might be of some use (both to me, and maybe to sympy)
Thanks for the tip, I didn't know about clnum. Tell us your experience with it. The advantage of mpmath is that it doesn't need any C stuff and it still works. And if you want speed, you install gmpy and it's quite fast. When you get your job done, please share your experiences here, so that we can all learn from it and improve sympy and mpmath. Thanks, Ondrej --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sympy" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sympy?hl=en -~----------~----~----~----~------~----~------~--~---
