Boost logo

Boost :

From: Sohail Somani (s.somani_at_[hidden])
Date: 2006-08-02 11:53:08


> -----Original Message-----
> From: boost-bounces_at_[hidden]
> [mailto:boost-bounces_at_[hidden]] On Behalf Of John Maddock
> Sent: Wednesday, August 02, 2006 4:51 AM
> To: boost_at_[hidden]
> 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


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk