#include <PolynomialFit.h>

Public Member Functions | |
| void | fit () |
| Actually does the fit. Should be reimplemented in derived classes. | |
| virtual QString | legendInfo () |
| Output string added to the plot as a new legend. | |
| PolynomialFit (ApplicationWindow *parent, Graph *g, QString &curveTitle, double start, double end, int order=2, bool legend=false) | |
| PolynomialFit (ApplicationWindow *parent, Graph *g, QString &curveTitle, int order=2, bool legend=false) | |
| PolynomialFit (ApplicationWindow *parent, Graph *g, int order=2, bool legend=false) | |
Static Public Member Functions | |
| static QString | generateFormula (int order) |
| static QStringList | generateParameterList (int order) |
Private Member Functions | |
| void | calculateFitCurveData (double *par, double *X, double *Y) |
| Calculates the data for the output fit curve and store itin the X an Y vectors. | |
| void | init () |
Private Attributes | |
| int | d_order |
| bool | show_legend |
| PolynomialFit::PolynomialFit | ( | ApplicationWindow * | parent, | |
| Graph * | g, | |||
| int | order = 2, |
|||
| bool | legend = false | |||
| ) |
| PolynomialFit::PolynomialFit | ( | ApplicationWindow * | parent, | |
| Graph * | g, | |||
| QString & | curveTitle, | |||
| int | order = 2, |
|||
| bool | legend = false | |||
| ) |
| PolynomialFit::PolynomialFit | ( | ApplicationWindow * | parent, | |
| Graph * | g, | |||
| QString & | curveTitle, | |||
| double | start, | |||
| double | end, | |||
| int | order = 2, |
|||
| bool | legend = false | |||
| ) |
| void PolynomialFit::calculateFitCurveData | ( | double * | par, | |
| 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.
| void PolynomialFit::fit | ( | ) | [virtual] |
| QString PolynomialFit::generateFormula | ( | int | order | ) | [static] |
| QStringList PolynomialFit::generateParameterList | ( | int | order | ) | [static] |
| void PolynomialFit::init | ( | ) | [private] |
Reimplemented from Filter.
| QString PolynomialFit::legendInfo | ( | ) | [virtual] |
int PolynomialFit::d_order [private] |
bool PolynomialFit::show_legend [private] |
1.5.3