| Goffice Reference Manual | ||||
|---|---|---|---|---|
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);
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;
gcharconst * gog_reg_curve_get_equation (GogRegCurve *reg_curve);
|
|
Returns : |
void gog_reg_curve_get_bounds (GogRegCurve *reg_curve, double *xmin, double *xmax);
|
|
|
|
|