ExponentialFit Class Reference

#include <ExponentialFit.h>

Inheritance diagram for ExponentialFit:

Fit Filter

List of all members.

Public Member Functions

double eval (double *par, double x)
 Calculates the data for the output fit curve.
 ExponentialFit (ApplicationWindow *parent, Table *t, const QString &xCol, const QString &yCol, int startRow=1, int endRow=-1, bool expGrowth=false)
 ExponentialFit (ApplicationWindow *parent, Graph *g, const QString &curveTitle, double start, double end, bool expGrowth=false)
 ExponentialFit (ApplicationWindow *parent, Graph *g, const QString &curveTitle, bool expGrowth=false)
 ExponentialFit (ApplicationWindow *parent, Graph *g, bool expGrowth=false)

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 customizeFitResults ()
 Customs and stores the fit results according to the derived class specifications. Used by exponential fits.
void init ()

Private Attributes

bool is_exp_growth


Constructor & Destructor Documentation

ExponentialFit::ExponentialFit ( ApplicationWindow parent,
Graph g,
bool  expGrowth = false 
)

References init().

ExponentialFit::ExponentialFit ( ApplicationWindow parent,
Graph g,
const QString &  curveTitle,
bool  expGrowth = false 
)

ExponentialFit::ExponentialFit ( ApplicationWindow parent,
Graph g,
const QString &  curveTitle,
double  start,
double  end,
bool  expGrowth = false 
)

ExponentialFit::ExponentialFit ( ApplicationWindow parent,
Table t,
const QString &  xCol,
const QString &  yCol,
int  startRow = 1,
int  endRow = -1,
bool  expGrowth = false 
)

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


Member Function Documentation

void ExponentialFit::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_gen_function, Filter::d_n, Filter::d_points, Fit::d_results, Filter::d_x, and Filter::x().

void ExponentialFit::customizeFitResults (  )  [private, virtual]

Customs and stores the fit results according to the derived class specifications. Used by exponential fits.

Reimplemented from Fit.

References Fit::d_results, and is_exp_growth.

double ExponentialFit::eval ( double *  ,
double   
) [inline, virtual]

Calculates the data for the output fit curve.

Reimplemented from Fit.

void ExponentialFit::init (  )  [private]


Member Data Documentation

Referenced by customizeFitResults(), and init().


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

Generated on Sun Jun 15 21:32:22 2008 for QtiPlot by  doxygen 1.5.6