Re: [sage-devel] Improvement of numerical integration routines

2010-09-23 Thread Burcin Erocal
On Thu, 23 Sep 2010 02:34:09 -0400 Jonathan Bober wrote: > In sage it seems there are a few different ways to get a numeric > approximation to an integral. There are the top level functions > integral and numerical_integral (and their synonyms), and then > symbolic expressions have a method ninte

Re: [sage-devel] Improvement of numerical integration routines

2010-09-22 Thread Jonathan Bober
On Thu, 2010-09-16 at 15:48 -0700, maldun wrote: > Hi all! > > I'm currently found some time to work again on ticket #8321 again, and > have added some numerical integration tests. Hi Maldun, I think that improvement of numerical integration would be excellent. I've been somewhat disappointed wi

Re: [sage-devel] Improvement of numerical integration routines

2010-09-17 Thread Fredrik Johansson
On Fri, Sep 17, 2010 at 12:48 AM, maldun wrote: > Do you see the problems?! These are caused by the high oscillation, > but we get no warning. > If you use scipy you would get the following: It is possible to get an error estimate back from mpmath, as follows: sage: mpmath.quad(lambda a: mpmath.

[sage-devel] Improvement of numerical integration routines

2010-09-16 Thread maldun
Hi all! I'm currently found some time to work again on ticket #8321 again, and have added some numerical integration tests. But I found some major problems, that should be discussed. I said already to Burcin that I will help out with this, but I think there are some things that need discussion bef