coeff_init: Do not use coeff[0] as the intercept.
[pspp-builds.git] / src / math / linreg.h
index 5a5c4c8eb3e8db543b1db068ae5670dd6f62f1da..a9577d648372dc640056fc07762405ccc0aff6c1 100644 (file)
@@ -216,4 +216,9 @@ void pspp_linreg_set_indep_variable_sd (pspp_linreg_cache *, const struct variab
  */
 double pspp_linreg_get_indep_variable_mean (pspp_linreg_cache *, const struct variable *);
 void pspp_linreg_set_indep_variable_mean (pspp_linreg_cache *, const struct variable *, double);
+
+/*
+  Regression using only the covariance matrix.
+ */
+int pspp_linreg_with_cov (const struct design_matrix *, pspp_linreg_cache *);
 #endif