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


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


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