Re: [boost] Numerical integration library?

-----Original Message----- From: boost-bounces@lists.boost.org [mailto:boost-bounces@lists.boost.org] On Behalf Of John Maddock Sent: Wednesday, August 02, 2006 4:51 AM To: boost@lists.boost.org Subject: Re: [boost] Numerical integration library?
Sohail Somani wrote:
If I can only suggest: Decouple evaluation of the objective function from its derivatives. Or have another concept that is not callable.
I have an example of how one can specify a family of functions and their derivatives:
http://sohail.taggedtype.net/software/newton_raphson.cxx
You can blame the idle hands for this one.
:-)
I see what you're doing, but I deliberately wanted the derivatives to be calculated at the same time as f(x): the functions I was interested in (incomplete beta and gamma's) have terms that are common to both the derivative and the objective function, and I wanted the option of calculating both the derivatives and the objective function at the same time.
I'll be interested to see the evolution of your library. Will definitely try it out at some point. Thanks for the link! Sohail
participants (1)
-
Sohail Somani