00001 /*============================================================================ 00002 Copyright 2006 Thad Harroun, Kevin Yager 00003 00004 This file is part of "yanera 2.0". 00005 00006 "yanera 2.0" is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. 00007 00008 "yanera 2.0" is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. 00009 00010 You should have received a copy of the GNU General Public License along with "yanera 2.0"; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA 00011 =============================================================================*/ 00018 /*============================================================================*/ 00023 int yanera_lstsq_main(yanera_container *yanera); 00024 /*============================================================================*/ 00029 int lstsq_fdf(const gsl_vector *parameters, \ 00030 void *yanera_pointer, \ 00031 gsl_vector *r, gsl_matrix *J); 00032 /*============================================================================*/ 00037 int lstsq_f(const gsl_vector *parameters, \ 00038 void *yanera_pointer, \ 00039 gsl_vector *r); 00040 /*============================================================================*/ 00045 int lstsq_df(const gsl_vector *parameters, \ 00046 void *yanera_pointer, \ 00047 gsl_matrix *J); 00048 /*============================================================================*/ 00053 double lstsq_derivatives(double new_p, void *yanera_pointer); 00054