This is the mail archive of the
gsl-discuss@sources.redhat.com
mailing list for the GSL project.
Function interface for Least-Squares Fitting
- From: Jari Häkkinen <jari at chiralcomp dot com>
- To: gsl-discuss at sources dot redhat dot com
- Date: Thu, 21 Oct 2004 00:07:35 +0200
- Subject: 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