[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-gsl] what does xstride,ystride mean and how to set them?
From: |
Hongzheng Wang |
Subject: |
Re: [Help-gsl] what does xstride,ystride mean and how to set them? |
Date: |
Thu, 16 Sep 2010 23:38:29 -0400 |
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 <address@hidden> 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
> address@hidden
> http://lists.gnu.org/mailman/listinfo/help-gsl
>