LinearSlopeFit Class Reference

#include <PolynomialFit.h>

Inheritance diagram for LinearSlopeFit:

Fit Filter

List of all members.

Public Member Functions

virtual double eval (double *par, double x)
 Calculates the data for the output fit curve.
void fit ()
 Actually does the fit. Should be reimplemented in derived classes.
 LinearSlopeFit (ApplicationWindow *parent, Table *t, const QString &xCol, const QString &yCol, int startRow=1, int endRow=-1)
 LinearSlopeFit (ApplicationWindow *parent, Graph *g, const QString &curveTitle, double start, double end)
 LinearSlopeFit (ApplicationWindow *parent, Graph *g, const QString &curveTitle)
 LinearSlopeFit (ApplicationWindow *parent, Graph *g)

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

LinearSlopeFit::LinearSlopeFit ( ApplicationWindow parent,
Graph g 
)

References init().

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

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

LinearSlopeFit::LinearSlopeFit ( 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 LinearSlopeFit::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().

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

Calculates the data for the output fit curve.

Reimplemented from Fit.

void LinearSlopeFit::fit (  )  [virtual]

void LinearSlopeFit::init (  )  [private]


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

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