[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Numerical Integration

From: Søren Hauberg
Subject: Re: Numerical Integration
Date: Sun, 07 Dec 2008 11:50:32 +0100

søn, 07 12 2008 kl. 11:26 +0100, skrev Ivan Sutoris:
> On Sat, Dec 6, 2008 at 8:42 PM, Marcin Ślęczka <address@hidden> wrote:
> >
> > Thanks a lot.
> >
> > What if the second functiont won't be an error function?
> I thought you could just call quad recursively, but apparently that is
> not possible (it results in error). However, there is example for 2D
> integration in Octave manual using quadl, which allows recursion:

Yeah, 'quad' uses 'QUADPACK' which is a Fortran library for numerical
integration. Apparently you cannot call Fortran routines recursively, so
'quad' inherits this limitation. I guess it would make sense to rewrite
this code in C++ if anybody feel like helping out :-)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]