Hello, I have worked with this functions for a while and I think this parameters are "steps" in input/output arrays. With stride, you say for how many members you should move before reading next value.
For example, if you want to fit only 1., 3., 5., ... member of input array, you simply set its stride stride to 2. So if you want to fit each member of both input/output arrays, set both xstride and ystride to 1, as it is in least squares example http://www.gnu.org/software/gsl/manual/html_node/Fitting-Examples.html I hope this helps you best regards Petr Ent > ------------ Původní zpráva ------------ > Od: Chris Albertson <[EMAIL PROTECTED]> > Předmět: [Help-gsl] What is "XSTRIDE" in the least square fit functions? > Datum: 12.4.2007 05:24:33 > ---------------------------------------- > I'm getting unexpected results. Possably because I'm guessing about > what some parametrs are. > > gsl_fit_linear() has two parameters "XSTRIDE" and "YSTRIDE". What are > these? > > It looks like "N" is the number of values in both the "X" and "Y" > arrays. The others > are easy to figure out. > > Chris Albertson > Home: 310-376-1029 [EMAIL PROTECTED] > Office: 310-336-5189 [EMAIL PROTECTED] > > > > ____________________________________________________________________________________ > Be a PS3 game guru. > Get your game face on with the latest PS3 news and previews at Yahoo! Games. > http://videogames.yahoo.com/platform?platform=120121 > > > _______________________________________________ > 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