gsl_lstsq.c File Reference


Detailed Description

Contains the routines for performing nonlinear least squares fitting.

Definition in file gsl_lstsq.c.

Go to the source code of this file.

Functions

int lstsq_main (void *void_gsl_fit_struct)
 The main function for performing method of least squares fitting.
int lstsq_fdf (const gsl_vector *parameters, void *void_gsl_fit_struct, gsl_vector *r, gsl_matrix *J)
 A routine which calculates the residuals $r_i$ and the Jacobian matrix.
int lstsq_f (const gsl_vector *parameters, void *void_gsl_fit_struct, gsl_vector *r)
 A routine which calculates the residuals $r_i$.
int lstsq_df (const gsl_vector *parameters, void *void_gsl_fit_struct, gsl_matrix *J)
 A routine which calculates the Jacobian matrix.
double lstsq_derivatives (double p, void *void_gsl_fit_struct)
 A routine which calculates $J_{i,j}$ with a new parameter.
int lstsq_status (gsl_fit *gft, int iteration, gsl_multifit_fdfsolver *s, gsl_matrix *c)
 A fitting status update printed to stderr.


Generated on Fri Jan 19 14:54:26 2007 for gsl_fit by  doxygen 1.4.7