struct linreg_struct
{
+ int refcnt;
double n_obs; /* Number of observations. */
int n_indeps; /* Number of independent variables. */
int n_coeffs; /* The intercept is not considered a
linreg *linreg_alloc (const struct variable *, const struct variable **,
double, size_t);
-bool linreg_free (void *);
+void linreg_unref (linreg *);
+void linreg_ref (linreg *c);
/*
Fit the linear model via least squares. All pointers passed to pspp_linreg