This is the mail archive of the
gsl-discuss@sources.redhat.com
mailing list for the GSL project.
Re: Function interface for Least-Squares Fitting
- From: Brian Gough <bjg at network-theory dot co dot uk>
- To: Jari Häkkinen <jari at chiralcomp dot com>
- Cc: gsl-discuss at sources dot redhat dot com
- Date: Thu, 21 Oct 2004 15:06:49 +0100
- Subject: Re: Function interface for Least-Squares Fitting
- References: <4176E1A7.7090802@chiralcomp.com>
Jari Häkkinen writes:
> I noticed that the function interface for the fitting algorithms do not
> support gsl_vectors. What is the reason for this?
Basically to avoid duplication, when possible.
The recommended way to call these functions is with v->data,
v->stride, v->size as in your example.
You can put an inline function definition in your application's own
header files if you like.
--
Brian Gough