Function interface for Least-Squares Fitting

Jari Häkkinen jari@chiralcomp.com
Wed Oct 20 22:07:00 GMT 2004


Hi,

I noticed that the function interface for the fitting algorithms do not 
support gsl_vectors. What is the reason for this? Would it be possible 
to add inline functions such as

inline int
gsl_fit_linear_vector (const vector * x, const vector * y
                        double * c0, double * c1,
                        double * cov00, double * cov01, double * cov11,
                        double * sumsq)
{
   return gsl_fit_linear(x->data, x->stride, y->data, y->stride, x->size,
                         c0,c1,cov00,c0v01,cov11,sumsq);
}

to GSL?


Jari



More information about the Gsl-discuss mailing list