33 #include <gsl/gsl_multifit_nlin.h>
34 #include <gsl/gsl_deriv.h>
35 #include <gsl/gsl_math.h>
54 FitModel(
const QSARData& q, vector<String>& eq, vector<vector<String> >& deq, vector<double>& guess);
66 void setEquations(vector<String>& eq, vector<vector<String> >& deq);
69 void setEquations(vector<String>& eq);
74 Vector<double> predict(
const vector<double>& substance,
bool transform=1);
76 void setInitialGuess(vector<double>& d);
109 int setF(
const gsl_vector* x,
void* params, gsl_vector*
f);
111 int setDf(
const gsl_vector * x,
void* params, gsl_matrix * df);
113 int setFdf (
const gsl_vector * x,
void *params, gsl_vector *
f, gsl_matrix * df);
115 gsl_multifit_function_fdf
make_fdf (
int (*
f) (
const gsl_vector *,
void *, gsl_vector *),
116 int (* df) (
const gsl_vector *,
void *, gsl_matrix *),
117 int (* fdf) (
const gsl_vector *,
void *, gsl_vector *, gsl_matrix *),
119 size_t p,
void * params );