On 4/9/09, Holger Perlt <[email protected]> wrote:
> Is it possible to use a gsl-function as argument of another gsl-function?
>  Example:
>  Finding the zeroth of a one-parameter integral:
>  One could use one of the gsl-root functions with the  argument-function
> being the integral
>  over a one-parameter function. One wants to determine the value of the
> parameter where this integral vanishes.
>
>  Holger
>

GSL functions are regular C-functions and should be used as such.
In your particular example, please, see GSL documentation, section 32
"One dimensional Root-Finding", subsection 32.10 "Examples" on how to
pass functions as arguments to root solvers. By the way,
implementation of your function could contain integrals, etc.

Hope it helps,
--Leo--


_______________________________________________
Help-gsl mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-gsl

Reply via email to