It appears that the gsl_diff_* functions may be deprecated. The functions you want are in deriv/deriv.c not diff/diff.c.
The function gsl_deriv_central matches up with the documentation. gsl_diff_central does not appear to be documented at all though its still in the tree. On Wed, Sep 17, 2008 at 10:53:47PM -0400, Liam Healy wrote: > The documentation for the numerical differentiation functions > gsl_deriv_central, gsl_deriv_forward, gsl_deriv_backward all show 5 > arguments, e.g. > int gsl_deriv_central (const gsl_function * f, double x, double h, > double * result, double * abserr) > and explicitly mention a step variable h in the description. However > diff/diff.h and diff/diff.c show no such argument, having only 4 > total: > int gsl_diff_central (const gsl_function *f, > double x, > double *result, double *abserr); > etc. > > It appears the functions were changed but the documentation was not, > because I think old versions of the library had the step as an > argument. Can the documentation (including the description) be > updated to reflect the current function? > > Thank you. > > Liam > > > _______________________________________________ > Bug-gsl mailing list > [email protected] > http://lists.gnu.org/mailman/listinfo/bug-gsl _______________________________________________ Bug-gsl mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-gsl
