Follow-up Comment #8, bug #39713 (project gsl):
> As for duplicated evalution, gsl_root_fsolver_root returns the root without
requiring an additional function evaluation. The root doesn't need to be
exposed directly to the user through the iteration API as an accessor is
available to get it at near-zero cost. Again, one could imagine a different
API but this is what's in-place now. You can see this routine exercised in the
examples and the source code in fsolver.c.
I apologize and retract all of this. I mixed up root and function evaluation.
Sorry. Could one build something similar atop the solver-specific state?
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?39713>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/