This is the mail archive of the gsl-discuss@sources.redhat.com mailing list for the GSL project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Function interface for Least-Squares Fitting


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]