Hi, these parameters are used to control the step lengths of data samplings. Consider data sequence x for example. The data you would like to feed into this function may not be one by one but every two. Then you need to let xstride be 2 to achieve that.
Best, HZ On Thu, Sep 16, 2010 at 10:48 PM, Richard <[email protected]> wrote: > Hi, > I want to use gsl_fit_linear function. But I am puzzled withe the > parameters xstride and ystride. > Could anybody like to give some explanations ? > Thanks in advance. > > Richard > PS. function signature : > int *gsl_fit_linear* (const double * x, const size_t xstride, const double > * y, const size_t ystride, size_t n, double * c0, double * c1, double * > cov00, double * cov01, double * cov11, double * sumsq) > > _______________________________________________ > Help-gsl mailing list > [email protected] > http://lists.gnu.org/mailman/listinfo/help-gsl > _______________________________________________ Help-gsl mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-gsl
