QtiPlot 0.9.7.3
|
#include <ExponentialFit.h>
Public Member Functions | |
double | eval (double *par, double x) |
Calculates the data for the output fit curve. | |
ExponentialFit (ApplicationWindow *parent, QwtPlotCurve *c, double start, double end, bool expGrowth=false) | |
ExponentialFit (ApplicationWindow *parent, Graph *g, bool expGrowth=false) | |
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, QwtPlotCurve *c, bool expGrowth=false) | |
bool | isExponentialGrowth () |
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 |
ExponentialFit::ExponentialFit | ( | ApplicationWindow * | parent, |
QwtPlotCurve * | c, | ||
bool | expGrowth = false |
||
) |
References init(), and Filter::setDataFromCurve().
ExponentialFit::ExponentialFit | ( | ApplicationWindow * | parent, |
QwtPlotCurve * | c, | ||
double | start, | ||
double | end, | ||
bool | expGrowth = false |
||
) |
References init(), and Filter::setDataFromCurve().
ExponentialFit::ExponentialFit | ( | ApplicationWindow * | parent, |
Graph * | g, | ||
bool | expGrowth = false |
||
) |
References init().
ExponentialFit::ExponentialFit | ( | ApplicationWindow * | parent, |
Graph * | g, | ||
const QString & | curveTitle, | ||
bool | expGrowth = false |
||
) |
References init(), and Filter::setDataFromCurve().
ExponentialFit::ExponentialFit | ( | ApplicationWindow * | parent, |
Graph * | g, | ||
const QString & | curveTitle, | ||
double | start, | ||
double | end, | ||
bool | expGrowth = false |
||
) |
References init(), and Filter::setDataFromCurve().
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().
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] |
Reimplemented from Fit.
References Fit::d_df, Filter::d_explanation, Fit::d_f, Fit::d_fdf, Fit::d_formula, Fit::d_fsimplex, Fit::d_p, Fit::d_param_explain, Fit::d_param_names, exp_d(), exp_df(), exp_f(), exp_fdf(), Fit::initWorkspace(), and is_exp_growth.
Referenced by ExponentialFit().
bool ExponentialFit::isExponentialGrowth | ( | ) | [inline] |
References is_exp_growth.
Referenced by FitDialog::modifyGuesses().
bool ExponentialFit::is_exp_growth [private] |
Referenced by customizeFitResults(), init(), and isExponentialGrowth().