[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-gsl] Re: error in manual
From: |
Ivan Liu |
Subject: |
[Bug-gsl] Re: error in manual |
Date: |
Mon, 12 Sep 2005 19:49:35 +0200 |
Hi, this is to cancel/correct my bug report.
What I meant was, while calling the macro one should use
GSL_FN_EVAL(&F, x)
instead of
GSL_FN_EVAL(F, x)
maybe this is trivial for most people, but I got confused. So I'll let the
maintainers
judge if further clarification in the manual is necessary.
Regards,
Ivan Liu
On 9/12/05, Ivan Liu <address@hidden> wrote:
>
> Hi,
> found an error in GSL maual section "One-dimensional Root
> Finding>Providing the function to solve":
>
> > The function f(x) can be evaluated using the following macro,
> >
> > #define GSL_FN_EVAL(F,x)
> > (*((F)->function))(x,(F)->params)
> >
> >
> the first arguement should be &F, so that it reads
>
> #define GSL_FN_EVAL(&F,x)
>
> I guess it's the same for other GSL_FN macros
>
> Regards,
> Ivan Liu
>