[Top][All Lists]

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

Re: [Bug-gsl] Mistake in Documentation (section 33.4 - Providing the fun

From: Brian Gough
Subject: Re: [Bug-gsl] Mistake in Documentation (section 33.4 - Providing the function to solve)
Date: Mon, 31 Jan 2011 17:34:32 +0000
User-agent: Wanderlust/2.15.6 (Almost Unreal) Emacs/23.2 Mule/6.0 (HANACHIRUSATO)

At Fri, 28 Jan 2011 15:16:03 +0100,
Mark Jenkins wrote:
> > The function f(x) can be evaluated using the following macro,
> >
> >       #define GSL_FN_EVAL(F,x)
> >           (*((F)->function))(x,(F)->params)
> Unless I am missing something, the macro is incorrect.  The variable "F" 
> is of type "gsl_function", not "pointer to gsl_function" so the use of 
> "(F)->function" or "(F)->params" makes no sense in this context.

Thanks for the email.  I've changed the text to try to make it clearer
that a pointer is needed.

Brian Gough
(GSL Maintainer)

Network Theory Ltd,
Publishing the GSL Manual - http://www.network-theory.co.uk/gsl/manual/

reply via email to

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