GogRegCurve

GogRegCurve — Base class for regression curves

Synopsis

                    GogRegCurve;
gcharconst *        gog_reg_curve_get_equation          (GogRegCurve *reg_curve);
double              gog_reg_curve_get_R2                (GogRegCurve *reg_curve);
void                gog_reg_curve_get_bounds            (GogRegCurve *reg_curve,
                                                         double *xmin,
                                                         double *xmax);

Description

Details

GogRegCurve

typedef struct {
	GogTrendLine	base;
	
	GogSeries 	  *series;
	gboolean  	   weighted;
	GODataVector 	  *weights;
	GogDatasetElement *bounds;
	gboolean	   skip_invalid; /* do not take into account invalid data */
	int		   ninterp;	 /* how many points to use for display the curve as a vpath */
	double		  *a;		 /* calculated coefficients, must be allocated by derived class */
	double		   R2;		 /* squared regression coefficient */
	char		  *equation;
} GogRegCurve;


gog_reg_curve_get_equation ()

gcharconst *        gog_reg_curve_get_equation          (GogRegCurve *reg_curve);

reg_curve :

Returns :


gog_reg_curve_get_R2 ()

double              gog_reg_curve_get_R2                (GogRegCurve *reg_curve);

reg_curve :

Returns :


gog_reg_curve_get_bounds ()

void                gog_reg_curve_get_bounds            (GogRegCurve *reg_curve,
                                                         double *xmin,
                                                         double *xmax);

reg_curve :

xmin :

xmax :