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]

Function interface for Least-Squares Fitting


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



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