Function interface for Least-Squares Fitting

Jari Häkkinen jari@chiralcomp.com
Sat Oct 23 07:57:00 GMT 2004


Brian Gough wrote:

> 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.

Yes, of course, I am doing it my copy of the gsl CVS (in cvs_fit.h) but 
would like to see it the official release. Why was it decided against 
having gsl_vectors in the interface. (I am maintaing a C++ interface to 
GSL, and in this interface there is no access to internals of gsl_vector.)


Jari



More information about the Gsl-discuss mailing list