This is the mail archive of the
gsl-discuss@sources.redhat.com
mailing list for the GSL project.
Re: gsl_root_test_residual(double f, double epsabs)
- From: Brian Gough <bjg at network-theory dot co dot uk>
- To: Karsten Howes <karsten at videotron dot ca>
- Cc: gsl-discuss at sources dot redhat dot com
- Date: Wed, 8 Sep 2004 18:26:59 +0100
- Subject: Re: gsl_root_test_residual(double f, double epsabs)
- References: <40C3AF75.7080904@yahoo.es><40C4229F.3070907@yahoo.es><opsdq60tes0c67l8@localhost>
Karsten Howes writes:
> I am working with the 1D root finder framework and I am trying to figure
> out how to get the value of my function at the current best root estimate
> (without re-evaluating my function of course).
You do need to evaluate the function f(root). Depending on the
algorithm it may not be a reevaluation (see e.g. bisection).
--
Brian Gough
Network Theory Ltd,
Commercial support for GSL --- http://www.network-theory.co.uk/gsl/