help-gsl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-gsl] BUG in GSL /min/ brent_init ()


From: Rhys Ulerich
Subject: Re: [Help-gsl] BUG in GSL /min/ brent_init ()
Date: Tue, 20 Nov 2012 14:07:16 -0600

> Does function  brent_init () and brent_iterate in file /min/brent.c have a
> bug ??
>
> They do not allow a user minimize a function which has more than one double
> parameters e.g f(x)= b* cos(a *x)  which has parameters (a.b)

Stop using internal APIs you find by reading the source code and
instead read the documentation on one-dimensional minimization:
http://www.gnu.org/software/gsl/manual/html_node/One-dimensional-Minimization.html

If you want to minimize in multiple dimensions, try reading
http://www.gnu.org/software/gsl/manual/html_node/Multidimensional-Minimization.html.

- Rhys



reply via email to

[Prev in Thread] Current Thread [Next in Thread]