Function interface for Least-Squares Fitting

Brian Gough bjg@network-theory.co.uk
Thu Oct 21 15:00:00 GMT 2004


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



More information about the Gsl-discuss mailing list