gsl

Susi Lehtola jussilehtola at fedoraproject.org
Thu Jun 4 16:21:41 UTC 2015


On 06/04/2015 07:50 AM, Patrick Dupre wrote:
> Hello,
>
> This is not new.
>
> Somebody already asked but did not get the answer!
>
> http://stackoverflow.com/questions/24672293/how-do-i-set-the-fsolver-type-in-gsl

gsl has an excellent manual.

All of this is covered, with examples, at

https://www.gnu.org/software/gsl/manual/html_node/Initializing-the-Solver.html#Initializing-the-Solver

https://www.gnu.org/software/gsl/manual/html_node/Root-Bracketing-Algorithms.html#Root-Bracketing-Algorithms


You also could have grepped through the sources to find

GSL_VAR const gsl_root_fsolver_type  * gsl_root_fsolver_bisection;
GSL_VAR const gsl_root_fsolver_type  * gsl_root_fsolver_brent;
GSL_VAR const gsl_root_fsolver_type  * gsl_root_fsolver_falsepos;
GSL_VAR const gsl_root_fdfsolver_type  * gsl_root_fdfsolver_newton;
GSL_VAR const gsl_root_fdfsolver_type  * gsl_root_fdfsolver_secant;
GSL_VAR const gsl_root_fdfsolver_type  * gsl_root_fdfsolver_steffenson;

in gsl/gsl_roots.h.
-- 
Susi Lehtola
Fedora Project Contributor
jussilehtola at fedoraproject.org


More information about the users mailing list