bug-gsl
[Top][All Lists]
Advanced

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

[Bug-gsl] error in manual


From: Ivan Liu
Subject: [Bug-gsl] error in manual
Date: Mon, 12 Sep 2005 17:43:54 +0200

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


reply via email to

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