NonLinearFit Class Reference

#include <NonLinearFit.h>

Inheritance diagram for NonLinearFit:

Fit Filter

List of all members.

Public Member Functions

double eval (double *par, double x)
 Calculates the data for the output fit curve.
 NonLinearFit (ApplicationWindow *parent, Table *t, const QString &xCol, const QString &yCol, int startRow=1, int endRow=-1)
 NonLinearFit (ApplicationWindow *parent, Graph *g, const QString &curveTitle, double start, double end)
 NonLinearFit (ApplicationWindow *parent, Graph *g, const QString &curveTitle)
 NonLinearFit (ApplicationWindow *parent, Graph *g)
virtual void setFormula (const QString &s)
virtual void setParametersList (const QStringList &lst)

Private Member Functions

void calculateFitCurveData (double *X, double *Y)
 Calculates the data for the output fit curve and store itin the X an Y vectors.
void init ()


Constructor & Destructor Documentation

NonLinearFit::NonLinearFit ( ApplicationWindow parent,
Graph g 
)

References init().

NonLinearFit::NonLinearFit ( ApplicationWindow parent,
Graph g,
const QString &  curveTitle 
)

NonLinearFit::NonLinearFit ( ApplicationWindow parent,
Graph g,
const QString &  curveTitle,
double  start,
double  end 
)

NonLinearFit::NonLinearFit ( ApplicationWindow parent,
Table t,
const QString &  xCol,
const QString &  yCol,
int  startRow = 1,
int  endRow = -1 
)

References init(), and Fit::setDataFromTable().


Member Function Documentation

void NonLinearFit::calculateFitCurveData ( double *  X,
double *  Y 
) [private, virtual]

Calculates the data for the output fit curve and store itin the X an Y vectors.

Reimplemented from Fit.

References Fit::d_formula, Fit::d_gen_function, Filter::d_n, Fit::d_p, Fit::d_param_names, Filter::d_points, Fit::d_results, Filter::d_x, and Filter::x().

double NonLinearFit::eval ( double *  ,
double   
) [virtual]

Calculates the data for the output fit curve.

Reimplemented from Fit.

References Fit::d_formula, Fit::d_p, and Fit::d_param_names.

void NonLinearFit::init (  )  [private]

void NonLinearFit::setFormula ( const QString &  s  )  [virtual]

void NonLinearFit::setParametersList ( const QStringList &  lst  )  [virtual]


The documentation for this class was generated from the following files:

Generated on Tue Jun 17 08:36:16 2008 for QtiPlot by  doxygen 1.5.5